summaryrefslogtreecommitdiff
path: root/test/libcxx/selftest/test.arc.pass.mm
diff options
context:
space:
mode:
Diffstat (limited to 'test/libcxx/selftest/test.arc.pass.mm')
-rw-r--r--test/libcxx/selftest/test.arc.pass.mm17
1 files changed, 17 insertions, 0 deletions
diff --git a/test/libcxx/selftest/test.arc.pass.mm b/test/libcxx/selftest/test.arc.pass.mm
new file mode 100644
index 000000000000..ec272a8725cc
--- /dev/null
+++ b/test/libcxx/selftest/test.arc.pass.mm
@@ -0,0 +1,17 @@
+// -*- 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) == 0
+#error "arc should be enabled"
+#endif
+
+int main()
+{
+}