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