summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/const-label-addr.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/const-label-addr.c')
-rw-r--r--test/CodeGen/const-label-addr.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/CodeGen/const-label-addr.c b/test/CodeGen/const-label-addr.c
new file mode 100644
index 0000000..f8c35c6
--- /dev/null
+++ b/test/CodeGen/const-label-addr.c
@@ -0,0 +1,4 @@
+// RUN: clang-cc %s -emit-llvm -o %t
+int a() {
+A:;static void* a = &&A;
+}
OpenPOWER on IntegriCloud