Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / PCH / replaced-decl.m
blob5636a5746161717b570df8c6ed7d74fb8baf000f
1 // Without PCH
2 // RUN: %clang_cc1 -fsyntax-only -verify %s -include %s -include %s
4 // With PCH
5 // RUN: %clang_cc1 -fsyntax-only -verify %s -chain-include %s -chain-include %s
7 #ifndef HEADER1
8 #define HEADER1
10 @class I;
12 #elif !defined(HEADER2)
13 #define HEADER2
15 @interface I
16 @end
18 #else
20 typedef int I; // expected-error {{redefinition}}
21                // expected-note@15 {{previous}}
23 #endif