Index: test/xcode/clang-cxx-language-standard/c++11.cc |
diff --git a/test/win/shard/hello2.cc b/test/xcode/clang-cxx-language-standard/c++11.cc |
similarity index 62% |
copy from test/win/shard/hello2.cc |
copy to test/xcode/clang-cxx-language-standard/c++11.cc |
index 23fcb546cb04a424be1c75f5c20d5950f0501095..756dc1c7e6aa4988a18c8870f4151f856d1e547e 100644 |
--- a/test/win/shard/hello2.cc |
+++ b/test/xcode/clang-cxx-language-standard/c++11.cc |
@@ -2,6 +2,7 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-int f2() { |
- return 0; |
-} |
+static_assert(__cplusplus == 201103L, "wrong c++ standard version"); |
+ |
+int main() { return 0; } |
+ |