Mercurial > hg > CbC > CbC_llvm
view clang/test/PCH/pch-through3b.cpp @ 222:81f6424ef0e3 llvm-original
LLVM original branch
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 18 Jul 2021 22:10:01 +0900 |
parents | 1d019706d866 |
children |
line wrap: on
line source
// RUN: %clang_cc1 -I %S -emit-pch \ // RUN: -pch-through-header=Inputs/pch-through1.h -o %t.s3bt1 %s // RUN: %clang_cc1 -I %S -include-pch %t.s3bt1 \ // RUN: -pch-through-header=Inputs/pch-through1.h \ // RUN: %S/Inputs/pch-through-use3b.cpp 2>&1 | FileCheck %s //CHECK: warning: definition of macro 'AFOO' does not match definition in //CHECK-SAME: precompiled header //CHECK: warning: definition of macro 'BFOO' does not match definition in //CHECK-SAME: precompiled header #define AFOO 0 #include "Inputs/pch-through1.h"