URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc2/] [gcc/] [testsuite/] [c-c++-common/] [asmgoto-2.c] - Rev 295
Go to most recent revision | Compare with Previous | Blame | View Log
/* { dg-do compile } */ /* { dg-options "" } */ void foo (void) { __label__ lab; int i = 0; asm goto ("" : : : : lab); asm goto ("" : "=r" (i) : : : lab); /* { dg-error "expected" } */ asm goto ("" : : : : ); /* { dg-error "expected" } */ asm goto ("" : : : "memory"); /* { dg-error "expected" } */ asm goto ("" : : : ); /* { dg-error "expected" } */ asm goto ("" : : "r" (i)); /* { dg-error "expected" } */ asm goto ("" : : ); /* { dg-error "expected" } */ asm goto ("" : "=r" (i)); /* { dg-error "expected" } */ asm goto ("" : ); /* { dg-error "expected" } */ asm goto (""); /* { dg-error "expected" } */ lab:; }
Go to most recent revision | Compare with Previous | Blame | View Log