1 // RUN: rm -rf %t.mcp 2 // RUN: %clang_cc1 -fmodules -fimplicit-module-maps %s -emit-pch -o %t1.pch -fmodules-cache-path=%t.mcp -I %S/Inputs/redecls 3 // RUN: %clang_cc1 -fmodules -fimplicit-module-maps %s -emit-pch -o %t2.pch -include-pch %t1.pch -fmodules-cache-path=%t.mcp -I %S/Inputs/redecls 4 // RUN: %clang_cc1 -fmodules -fimplicit-module-maps %s -fsyntax-only -include-pch %t2.pch -I %S/Inputs/redecls -fmodules-cache-path=%t.mcp -verify 5 6 #ifndef HEADER1 7 #define HEADER1 8 9 @import a; 10 11 #elif !defined(HEADER2) 12 #define HEADER2 13 14 @class AA; 15 @import b; 16 17 #else 18 19 // rdar://13712705 20 @interface SS : AA 21 @end 22 23 #warning parsed this 24 #endif 25 // expected-warning@-2{{parsed this}} 26