[cfe-commits] r63721 - /cfe/trunk/test/Preprocessor/line-directive.c
Chris Lattner
sabre at nondot.org
Tue Feb 3 21:36:14 PST 2009
Author: lattner
Date: Tue Feb 3 23:36:14 2009
New Revision: 63721
URL: http://llvm.org/viewvc/llvm-project?rev=63721&view=rev
Log:
# 42 doesn't change system header state either, add test.
Modified:
cfe/trunk/test/Preprocessor/line-directive.c
Modified: cfe/trunk/test/Preprocessor/line-directive.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Preprocessor/line-directive.c?rev=63721&r1=63720&r2=63721&view=diff
==============================================================================
--- cfe/trunk/test/Preprocessor/line-directive.c (original)
+++ cfe/trunk/test/Preprocessor/line-directive.c Tue Feb 3 23:36:14 2009
@@ -50,6 +50,11 @@
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}}
More information about the cfe-commits
mailing list