summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/2008-07-21-mixed-var-fn-decl.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/2008-07-21-mixed-var-fn-decl.c')
-rw-r--r--test/CodeGen/2008-07-21-mixed-var-fn-decl.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/CodeGen/2008-07-21-mixed-var-fn-decl.c b/test/CodeGen/2008-07-21-mixed-var-fn-decl.c
new file mode 100644
index 0000000..c55c86b
--- /dev/null
+++ b/test/CodeGen/2008-07-21-mixed-var-fn-decl.c
@@ -0,0 +1,5 @@
+// RUN: clang-cc -emit-llvm -o - %s | grep -e "@g[0-9] " | count 2
+
+int g0, f0();
+int f1(), g1;
+
OpenPOWER on IntegriCloud