In the latest episode of "Deserializing bugs caused by accessors" the series reached...
[clang.git] / test / PCH / asm.h
bloba568058d58f665d303ef2ecb6581990304f1140c
1 // Header for the PCH test asm.c
3 void f() {
4 int i;
6 asm ("foo\n" : : "a" (i + 2));
7 asm ("foo\n" : [symbolic_name] "=a" (i) : "[symbolic_name]" (i));
10 void clobbers() {
11 asm ("nop" : : : "ax", "#ax", "%ax");
12 asm ("nop" : : : "eax", "rax", "ah", "al");
13 asm ("nop" : : : "0", "%0", "#0");