Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(599)

Unified Diff: test/xcode/clang-cxx-language-standard/c++11.cc

Issue 12725005: improve xcode_emulation.py (Closed) Base URL: http://gyp.googlecode.com/svn/trunk
Patch Set: Added tests Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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; }
+

Powered by Google App Engine
This is Rietveld 408576698