aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/2008-01-11-ChainConsistency.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/2008-01-11-ChainConsistency.c')
-rw-r--r--test/CodeGen/2008-01-11-ChainConsistency.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/CodeGen/2008-01-11-ChainConsistency.c b/test/CodeGen/2008-01-11-ChainConsistency.c
new file mode 100644
index 000000000000..9ae021f6da58
--- /dev/null
+++ b/test/CodeGen/2008-01-11-ChainConsistency.c
@@ -0,0 +1,3 @@
+// RUN: %clang_cc1 -emit-llvm %s -o - -fnested-functions | not grep nest
+
+void n1(void) { void a(void) { a(); } a(); }