blob: 1262f8aebd708f3d33eb9d0f7238e279ed0cc535 [file] [log] [blame]
Ted Kremenek52198c22010-07-27 23:06:03 +00001// RUN: %clang_cc1 -triple i386-unknown-unknown -emit-pth -o %t %S/pth.h
2// RUN: %clang_cc1 -triple i386-unknown-unknown -include-pth %t -fsyntax-only %s 2>&1 | FileCheck %s
3
4#error This is the only diagnostic
5
6// CHECK: This is the only diagnostic
7// CHECK: 1 error generated.