aboutsummaryrefslogtreecommitdiff
path: root/test/libcxx/selftest/test.arc.fail.mm
diff options
context:
space:
mode:
Diffstat (limited to 'test/libcxx/selftest/test.arc.fail.mm')
-rw-r--r--test/libcxx/selftest/test.arc.fail.mm13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/libcxx/selftest/test.arc.fail.mm b/test/libcxx/selftest/test.arc.fail.mm
new file mode 100644
index 000000000000..a185eab137a0
--- /dev/null
+++ b/test/libcxx/selftest/test.arc.fail.mm
@@ -0,0 +1,13 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+
+#if __has_feature(objc_arc)
+#error This test should not compile.
+#endif