]> granicus.if.org Git - clang/commitdiff
# 42 doesn't change system header state either, add test.
authorChris Lattner <sabre@nondot.org>
Wed, 4 Feb 2009 05:36:14 +0000 (05:36 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 4 Feb 2009 05:36:14 +0000 (05:36 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63721 91177308-0d34-0410-b5e6-96231b3b80d8

test/Preprocessor/line-directive.c

index 0a4b5822392d3d517536721b60e11aef8e853ac6..062081c6bcd6f7bd79ba742c3e7da2fc9507e2bb 100644 (file)
@@ -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}}