1 // RUN: not %clang_cc1 -verify %s 2>&1 | FileCheck %s 2 3 #include "verify-any-file.h" 4 // expected-error@*:* {{unknown type name 'unexpected'}} 5 6 // expected-error@*:* {{missing error}} 7 8 // expected-error@*:123 {{invalid line : "*" required}} 9 // 10 // CHECK: error: 'error' diagnostics expected but not seen: 11 // CHECK-NEXT: File * Line * (directive at {{.*}}verify-any-file.c:6): missing error 12 // CHECK-NEXT: error: 'error' diagnostics seen but not expected: 13 // CHECK-NEXT: File {{.*}}verify-any-file.c Line 8: missing or invalid line number following '@' in expected '*' 14 // CHECK-NEXT: 2 errors generated. 15