summaryrefslogtreecommitdiff
path: root/deps/gyp/test/mac/clang-cxx-language-standard/c++11.cc
diff options
context:
space:
mode:
Diffstat (limited to 'deps/gyp/test/mac/clang-cxx-language-standard/c++11.cc')
-rw-r--r--deps/gyp/test/mac/clang-cxx-language-standard/c++11.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/deps/gyp/test/mac/clang-cxx-language-standard/c++11.cc b/deps/gyp/test/mac/clang-cxx-language-standard/c++11.cc
new file mode 100644
index 0000000000..756dc1c7e6
--- /dev/null
+++ b/deps/gyp/test/mac/clang-cxx-language-standard/c++11.cc
@@ -0,0 +1,8 @@
+// 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.
+
+static_assert(__cplusplus == 201103L, "wrong c++ standard version");
+
+int main() { return 0; }
+