summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/func-decl-cleanup.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/func-decl-cleanup.c')
-rw-r--r--test/CodeGen/func-decl-cleanup.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/CodeGen/func-decl-cleanup.c b/test/CodeGen/func-decl-cleanup.c
new file mode 100644
index 0000000..4808e12
--- /dev/null
+++ b/test/CodeGen/func-decl-cleanup.c
@@ -0,0 +1,12 @@
+// RUN: clang-cc %s -emit-llvm -o -
+
+
+// PR2360
+typedef void fn_t();
+
+fn_t a,b;
+
+void b()
+{
+}
+
OpenPOWER on IntegriCloud