[docs] Add LICENSE.txt to the root of the mono-repo
[llvm-project.git] / clang / test / Driver / clang-c-as-cxx.c
blob0e2817888d68f88142be0d98b952656cb588b4d0
1 // RUN: %clangxx -### %s 2>&1 | FileCheck %s
2 //
3 // PR5803
4 //
5 // CHECK: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated
6 // CHECK: "-cc1" {{.*}} "-x" "c++"