pth.c 282 B

1234567
  1. // RUN: %clang_cc1 -triple i386-unknown-unknown -emit-pth -o %t %S/pth.h
  2. // RUN: not %clang_cc1 -triple i386-unknown-unknown -include-pth %t -fsyntax-only %s 2>&1 | FileCheck %s
  3. #error This is the only diagnostic
  4. // CHECK: This is the only diagnostic
  5. // CHECK: 1 error generated.