Debian Codegraph @

gcc/testsuite/gcc.target/i386/pr102761.c

raw
1 /* PR target/102761 */
2 /* { dg-do compile } */
3 /* { dg-options "-O1" } */
4
5 int foo (void);
6
7 void
8 bar (void)
9 {
10 asm volatile ("%a0" : : "X"(foo () ? 2 : 1)); /* { dg-error "invalid constraints for operand" } */
11 }