xref: /llvm-project/clang/test/Misc/driver-verify.c (revision e2213159fa654a9ba8b211204a7342f6bc1690c6)
1 // RUN: not %clang -verify %s 2>&1 | FileCheck %s
2 // RUN: %clang_cc1 -verify %s
3 // expected-no-diagnostics
4 
5 // Test that -verify is strictly rejected as unknown by the driver.
6 // CHECK: unknown argument '-verify'; did you mean '-Xclang -verify'?
7