1 /* Test error conditions of asm flag outputs.  */
2 /* { dg-do compile } */
3 /* { dg-options "" } */
4 
a(void)5 void a(void)
6 {
7   char x;
8   asm("" : "=@cca,@ccc"(x));  /* { dg-error "alternatives not allowed" } */
9 }
10 
b(void)11 void b(void)
12 {
13   char x;
14   asm("" : "=@ccbad"(x)); /* { dg-error "unknown asm flag output" } */
15 }
16