1 // RUN: not %clang_cc1 -Wfatal-errors -verify %s 2>&1 | FileCheck %s 2 3 #error first fatal 4 // expected-error@-1 {{first fatal}} 5 6 #error second fatal 7 // expected-error@-1 {{second fatal}} 8 9 10 // CHECK: error: 'error' diagnostics expected but not seen: 11 // CHECK-NEXT: Line 6 (directive at {{.*}}verify-fatal.c:7): second fatal 12 // CHECK-NEXT: 1 error generated. 13