diff options
Diffstat (limited to 'clang/test/CodeGen')
-rw-r--r-- | clang/test/CodeGen/asm.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/clang/test/CodeGen/asm.c b/clang/test/CodeGen/asm.c index 26aa3bd61b3..e8088d40b13 100644 --- a/clang/test/CodeGen/asm.c +++ b/clang/test/CodeGen/asm.c @@ -27,3 +27,9 @@ void t5(int i) { asm("nop" : "=r"(i) : "0"(t5)); } + +// PR3641 +void t6(void) +{ + __asm__ volatile("" : : "i" (t6)); +} |