f4a2713ac8
Change-Id: Ia40e9ffdf29b5dab2f122f673ff6802a58bc690f
18 lines
306 B
C
18 lines
306 B
C
// RUN: %clang_cc1 -emit-pch -o %t1.pch %s
|
|
// RUN: %clang_cc1 -emit-pch -o %t2.pch %s
|
|
// RUN: %clang_cc1 %s -include-pch %t1.pch -include-pch %t2.pch -verify
|
|
|
|
#ifndef HEADER
|
|
#define HEADER
|
|
|
|
extern int x;
|
|
|
|
#else
|
|
|
|
#warning parsed this
|
|
// expected-warning@-1 {{parsed this}}
|
|
int foo() {
|
|
return x;
|
|
}
|
|
|
|
#endif
|