1 // Header for the PCH test asm.c
2 
f()3 void f() {
4   int i,cond;
5 
6   asm ("foo\n" : : "a" (i + 2));
7   asm ("foo\n" : [symbolic_name] "=a" (i) : "[symbolic_name]" (i));
8   asm volatile goto("testl %0, %0; jne %l1;" :: "r"(cond)::label_true, loop);
9 label_true:
10 loop:
11   return;
12 }
13 
clobbers()14 void clobbers() {
15   asm ("nop" : : : "ax", "#ax", "%ax");
16   asm ("nop" : : : "eax", "rax", "ah", "al");
17   asm ("nop" : : : "0", "%0", "#0");
18 }
19