summaryrefslogtreecommitdiff
path: root/flang/test/Driver/driver-error-cc1.cpp
blob: 2a6ecdb0b163a4b481fa49c77a681fead842a996 (plain)
1
2
3
4
5
6
// C++ files are currently not supported (i.e. `flang -cc1`). Make sure that the
// driver reports this as expected.

// RUN: not %flang %s 2>&1 | FileCheck %s

// CHECK: error: unknown integrated tool '-cc1'. Valid tools include '-fc1'.