diff options
Diffstat (limited to 'Tests/SetLang/stay_cxx.cxx')
-rw-r--r-- | Tests/SetLang/stay_cxx.cxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Tests/SetLang/stay_cxx.cxx b/Tests/SetLang/stay_cxx.cxx new file mode 100644 index 0000000..e035260 --- /dev/null +++ b/Tests/SetLang/stay_cxx.cxx @@ -0,0 +1,8 @@ +#ifndef __cplusplus +# error C++ source incorrectly compiled as C +#endif + +int stay_cxx() +{ + return 0; +} |