summaryrefslogtreecommitdiff
path: root/clang/test/Driver/clang-c-as-cxx.c
blob: 0e2817888d68f88142be0d98b952656cb588b4d0 (about) (plain)
1
2
3
4
5
6
// 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++"