1// RUN: %clang_cc1 -arcmt-check -verify %s
2// RUN: not %clang_cc1 -arcmt-check -verify %t.invalid 2>&1 | FileCheck %s
3
4#if 0
5// expected-error {{should be ignored}}
6#endif
7
8#error should not be ignored
9// expected-error@-1 {{should not be ignored}}
10
11//      CHECK: error: no expected directives found: consider use of 'expected-no-diagnostics'
12// CHECK-NEXT: error: 'error' diagnostics seen but not expected:
13// CHECK-NEXT:   (frontend): error reading '{{.*}}verify.m.tmp.invalid'
14// CHECK-NEXT: 2 errors generated.
15