brintos

brintos / llvm-project-archived public Read only

0
0
Text · 310 B · 1e07b4f Raw
19 lines · c
1// RUN: %clang_cc1 -emit-pch -o %t1.pch %s2// RUN: %clang_cc1 -emit-pch -o %t2.pch %s3// RUN: %clang_cc1 %s -include-pch %t1.pch -include-pch %t2.pch -verify4 5#ifndef HEADER6#define HEADER7 8extern int x;9 10#else11 12#warning parsed this13// expected-warning@-1 {{parsed this}}14int foo(void) {15  return x;16}17 18#endif19