Index: test/xcode/clang-cxx-library/libstdc++.cc |
diff --git a/test/win/shard/hello1.cc b/test/xcode/clang-cxx-library/libstdc++.cc |
similarity index 59% |
copy from test/win/shard/hello1.cc |
copy to test/xcode/clang-cxx-library/libstdc++.cc |
index 0eccf2861d5d7ed60f24d11f1a1e48c68d074c5f..a6527383bc3a03862cf3d85dd956c93615b40697 100644 |
--- a/test/win/shard/hello1.cc |
+++ b/test/xcode/clang-cxx-library/libstdc++.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 <string> |
+#ifndef __GLIBCXX__ |
+#error expected std library: libstdc++ |
+#endif |
+ |
+int main() { return 0; } |
+ |