summaryrefslogtreecommitdiff
path: root/clang/test/CodeGen/2008-01-11-ChainConsistency.c
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/CodeGen/2008-01-11-ChainConsistency.c')
-rw-r--r--clang/test/CodeGen/2008-01-11-ChainConsistency.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/test/CodeGen/2008-01-11-ChainConsistency.c b/clang/test/CodeGen/2008-01-11-ChainConsistency.c
new file mode 100644
index 0000000..9ae021f
--- /dev/null
+++ b/clang/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(); }