| 1 | // RUN: not %clang_cc1 -asdf -verify %s 2>&1 | FileCheck %s |
|---|---|
| 2 | |
| 3 | // expected-no-diagnostics |
| 4 | |
| 5 | // CHECK: error: 'error' diagnostics seen but not expected: |
| 6 | // CHECK-NEXT: (frontend): unknown argument: '-asdf' |
| 7 |
| 1 | // RUN: not %clang_cc1 -asdf -verify %s 2>&1 | FileCheck %s |
|---|---|
| 2 | |
| 3 | // expected-no-diagnostics |
| 4 | |
| 5 | // CHECK: error: 'error' diagnostics seen but not expected: |
| 6 | // CHECK-NEXT: (frontend): unknown argument: '-asdf' |
| 7 |