Add qdf24xx base tuning support.
[official-gcc.git] / gcc / testsuite / c-c++-common / asmgoto-2.c
blob5bf45725d80e47693088aa90339445754ad25b62
1 /* { dg-do compile } */
2 /* { dg-options "" } */
4 void
5 foo (void)
7 __label__ lab;
8 int i = 0;
9 asm goto ("" : : : : lab);
10 asm goto ("" : "=r" (i) : : : lab); /* { dg-error "expected" } */
11 asm goto ("" : : : : ); /* { dg-error "expected" } */
12 asm goto ("" : : : "memory"); /* { dg-error "expected" } */
13 asm goto ("" : : : ); /* { dg-error "expected" } */
14 asm goto ("" : : "r" (i)); /* { dg-error "expected" } */
15 asm goto ("" : : ); /* { dg-error "expected" } */
16 asm goto ("" : "=r" (i)); /* { dg-error "expected" } */
17 asm goto ("" : ); /* { dg-error "expected" } */
18 asm goto (""); /* { dg-error "expected" } */
19 lab:;