1 // C++ files are currently not supported (i.e. `flang -cc1`). Make sure that the
2 // driver reports this as expected.
3 
4 // REQUIRES: new-flang-driver
5 
6 //-----------
7 // RUN LINES
8 //-----------
9 // RUN: not %flang %s 2>&1 | FileCheck %s
10 
11 //-----------------------
12 // EXPECTED OUTPUT
13 //-----------------------
14 // CHECK: error: unknown integrated tool '-cc1'. Valid tools include '-fc1'.
15