llvm-for-llvmta/tools/clang/test/Frontend/verify-unknown-arg.c

7 lines
207 B
C
Raw Normal View History

2022-04-25 13:02:35 +02:00
// RUN: not %clang_cc1 -asdf -verify %s 2>&1 | FileCheck %s
// expected-no-diagnostics
// CHECK: error: 'error' diagnostics seen but not expected:
// CHECK-NEXT: (frontend): unknown argument: '-asdf'