1 /* Test :: token handling in asm. */
2 /* { dg-do compile } */
3 /* { dg-options "-std=gnu23" } */
15 asm goto ("" : : : : lab
);
16 asm goto ("" :: : : lab
);
17 asm goto ("" : :: : lab
);
18 asm goto ("" : : :: lab
);
19 asm goto ("" :: :: lab
);
21 /* Test errors when :: is at the end of asm and only one : allowed. */
22 asm ("" : : ::); /* { dg-error "expected" } */
23 asm ("" :: ::); /* { dg-error "expected" } */
24 asm goto ("" : : : :: lab
); /* { dg-error "expected" } */
25 asm goto ("" :: : :: lab
); /* { dg-error "expected" } */
26 asm goto ("" : :: :: lab
); /* { dg-error "expected" } */