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