brintos

brintos / llvm-project-archived public Read only

0
0
Text · 534 B · 2a7695a Raw
15 lines · cpp
1// RUN: %clang_cc1 -I %S -emit-pch \2// RUN:   -pch-through-header=Inputs/pch-through1.h -o %t.s3bt1 %s3 4// RUN: %clang_cc1 -I %S -include-pch %t.s3bt1 \5// RUN:   -pch-through-header=Inputs/pch-through1.h \6// RUN:   %S/Inputs/pch-through-use3b.cpp 2>&1 | FileCheck %s7 8//CHECK: warning: definition of macro 'AFOO' does not match definition in9//CHECK-SAME: precompiled header10//CHECK: warning: definition of macro 'BFOO' does not match definition in11//CHECK-SAME: precompiled header12 13#define AFOO 014#include "Inputs/pch-through1.h"15