From bd16209c76e122d50b23af7f65067670946953d8 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 4 Feb 2009 05:36:14 +0000 Subject: [PATCH] # 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 --- test/Preprocessor/line-directive.c | 5 +++++ 1 file changed, 5 insertions(+) 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}} -- 2.50.1