xref: /llvm-project/flang/test/Driver/driver-error-cc1.cpp (revision 3f17dc89d3f24e6c9e41f25dd88488beeaf5f3f5)
1 // C++ files are currently not supported (i.e. `flang -cc1`). Make sure that the
2 // driver reports this as expected.
3 
4 // RUN: not %flang %s 2>&1 | FileCheck %s
5 
6 // CHECK: error: unknown integrated tool '-cc1'. Valid tools include '-fc1'.
7