llvm-project/clang/test/Frontend/verify-unknown-arg.c

7 lines
207 B
C

// 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'