aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-02-04 05:36:14 +0000
committerChris Lattner <sabre@nondot.org>2009-02-04 05:36:14 +0000
commitbd16209c76e122d50b23af7f65067670946953d8 (patch)
tree4bd6b7ab1edef7deca2e47b514f93d3e9485c144 /test
parent6b3066780bda02e3117d71a18ca2f430ed1454af (diff)
# 42 doesn't change system header state either, add test.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63721 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/Preprocessor/line-directive.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/Preprocessor/line-directive.c b/test/Preprocessor/line-directive.c
index 0a4b582239..062081c6bc 100644
--- a/test/Preprocessor/line-directive.c
+++ b/test/Preprocessor/line-directive.c
@@ -50,6 +50,11 @@ typedef int y; // ok
typedef int z; // ok
typedef int z; // ok
+# 97 // doesn't change system headerness.
+
+typedef int z1; // ok
+typedef int z1; // ok
+
# 42 "blonk.h" // DOES change system headerness.
typedef int w; // expected-note {{previous definition is here}}