summaryrefslogtreecommitdiff
path: root/deps/gyp/test/mac/clang-cxx-language-standard/c++98.cc
diff options
context:
space:
mode:
Diffstat (limited to 'deps/gyp/test/mac/clang-cxx-language-standard/c++98.cc')
-rw-r--r--deps/gyp/test/mac/clang-cxx-language-standard/c++98.cc24
1 files changed, 24 insertions, 0 deletions
diff --git a/deps/gyp/test/mac/clang-cxx-language-standard/c++98.cc b/deps/gyp/test/mac/clang-cxx-language-standard/c++98.cc
new file mode 100644
index 0000000000..a6a00c70f4
--- /dev/null
+++ b/deps/gyp/test/mac/clang-cxx-language-standard/c++98.cc
@@ -0,0 +1,24 @@
+// Copyright (c) 2013 Google Inc. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#if __cplusplus != 199711L
+#error wrong c++ standard version
+#endif
+
+enum cxx11_keywords {
+ alignas,
+ alignof,
+ char16_t,
+ char32_t,
+ constexpr,
+ decltype,
+ noexcept,
+ nullptr,
+ override,
+ static_assert,
+ thread_local,
+};
+
+int main() { return 0; }
+