
- Patch by Andrzej K. Haczewski, with a tweak by me to emit a 'deprecated' diagnostic when we do this. We'll see what zee users say. llvm-svn: 96511
7 lines
189 B
C
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++"
|