1 /* Check that %? in inline asm expands to nothing. */
2 /* { dg-do compile } */
3 /* { dg-options "-O2" } */
4 /* { dg-require-effective-target arm32 } */
5 int b;
6 int foo(int a)
7 {
8 if (a)
9 b = 42;
10 asm ("test%?me":"=r"(a):"0"(a));
11 return a;
12 }
13 /* { dg-final { scan-assembler "testme" } } */