llvm-project/flang/test/Driver/driver-error-cc1.c

13 lines
348 B
C

// C files are currently not supported (i.e. `flang -cc1`). Make sure that the
// driver reports this as expected.
//-----------
// RUN LINES
//-----------
// RUN: not %flang %s 2>&1 | FileCheck %s
//-----------------------
// EXPECTED OUTPUT
//-----------------------
// CHECK: error: unknown integrated tool '-cc1'. Valid tools include '-fc1'.