diff --git a/clang/test/Preprocessor/lang-std-sie.cpp b/clang/test/Preprocessor/lang-std-sie.cpp new file mode 100644 index 000000000000..e8e65690277a --- /dev/null +++ b/clang/test/Preprocessor/lang-std-sie.cpp @@ -0,0 +1,6 @@ +/// Test that PS4/PS5 defaults to gnu++14. + +// RUN: %clang_cc1 -dM -E -triple x86_64-scei-ps4 %s | FileCheck --check-prefix=CXX14 %s +// RUN: %clang_cc1 -dM -E -triple x86_64-sie-ps5 %s | FileCheck --check-prefix=CXX14 %s + +// CXX14: #define __cplusplus 201402L