diff options
Diffstat (limited to 'clang/test/PCH')
-rw-r--r-- | clang/test/PCH/asm.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/clang/test/PCH/asm.h b/clang/test/PCH/asm.h index a568058d58f..5a7268eff6e 100644 --- a/clang/test/PCH/asm.h +++ b/clang/test/PCH/asm.h @@ -1,10 +1,14 @@ // Header for the PCH test asm.c void f() { - int i; + int i,cond; asm ("foo\n" : : "a" (i + 2)); asm ("foo\n" : [symbolic_name] "=a" (i) : "[symbolic_name]" (i)); + asm volatile goto("testl %0, %0; jne %l1;" :: "r"(cond)::label_true, loop); +label_true: +loop: + return; } void clobbers() { |