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

Unified Diff: test/mac/clang-cxx-library/libc++.cc

Issue 12725005: improve xcode_emulation.py (Closed) Base URL: http://gyp.googlecode.com/svn/trunk
Patch Set: test/{xcode => mac}, fixed ios tests with 'xcode' 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/mac/clang-cxx-library/libc++.cc
diff --git a/test/win/shard/hello1.cc b/test/mac/clang-cxx-library/libc++.cc
similarity index 58%
copy from test/win/shard/hello1.cc
copy to test/mac/clang-cxx-library/libc++.cc
index 0eccf2861d5d7ed60f24d11f1a1e48c68d074c5f..20114b501a8f8d7581d40bb1928f4ff51925126d 100644
--- a/test/win/shard/hello1.cc
+++ b/test/mac/clang-cxx-library/libc++.cc
@@ -2,6 +2,10 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-int f1() {
- return 0;
-}
+#include <ciso646>
+#ifndef _LIBCPP_VERSION
+#error expected std library: libc++
+#endif
+
+int main() { return 0; }
+

Powered by Google App Engine
This is Rietveld 408576698