summaryrefslogtreecommitdiff
path: root/clang/test/PCH/pth.c
blob: 1262f8aebd708f3d33eb9d0f7238e279ed0cc535 (about) (plain)
1
2
3
4
5
6
7
// RUN: %clang_cc1 -triple i386-unknown-unknown -emit-pth -o %t %S/pth.h
// RUN: %clang_cc1 -triple i386-unknown-unknown -include-pth %t -fsyntax-only %s 2>&1 | FileCheck %s

#error This is the only diagnostic

// CHECK: This is the only diagnostic
// CHECK: 1 error generated.