llvm-for-llvmta/tools/clang/test/Driver/clang-c-as-cxx.c

7 lines
189 B
C
Raw Normal View History

2022-04-25 13:02:35 +02:00
// RUN: %clangxx -### %s 2>&1 | FileCheck %s
//
// PR5803
//
// CHECK: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated
// CHECK: "-cc1" {{.*}} "-x" "c++"