freebsd-nq/test/Driver/clang-c-as-cxx.c
2010-03-03 17:28:16 +00:00

7 lines
189 B
C

// 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++"