Index: test/ios/app-bundle/TestApp/only-compile-in-64-bits.m |
diff --git a/test/prune_targets/lib2.cc b/test/ios/app-bundle/TestApp/only-compile-in-64-bits.m |
similarity index 75% |
copy from test/prune_targets/lib2.cc |
copy to test/ios/app-bundle/TestApp/only-compile-in-64-bits.m |
index aed394afcff768af538513e67e47170f954a36c3..e6d255841875eb77bfd9b6fa7524899588406e11 100644 |
--- a/test/prune_targets/lib2.cc |
+++ b/test/ios/app-bundle/TestApp/only-compile-in-64-bits.m |
@@ -2,5 +2,6 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-void libfunc2() { |
-} |
+#if !defined(__LP64__) |
+# error 32-bit build |
+#endif |