summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/asm.c
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/CodeGen/asm.c')
-rw-r--r--clang/test/CodeGen/asm.c6
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));
+}
OpenPOWER on IntegriCloud