Index: test/xcode/clang-cxx-library/libc++.cc |
diff --git a/test/win/shard/hello4.cc b/test/xcode/clang-cxx-library/libc++.cc |
similarity index 58% |
copy from test/win/shard/hello4.cc |
copy to test/xcode/clang-cxx-library/libc++.cc |
index a94df194999a38e80cde7e2a7205a9f6a39601cd..20114b501a8f8d7581d40bb1928f4ff51925126d 100644 |
--- a/test/win/shard/hello4.cc |
+++ b/test/xcode/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 f4() { |
- return 0; |
-} |
+#include <ciso646> |
+#ifndef _LIBCPP_VERSION |
+#error expected std library: libc++ |
+#endif |
+ |
+int main() { return 0; } |
+ |