aboutsummaryrefslogtreecommitdiff
path: root/test/Lexer/has_attribute_objc_boxable.m
diff options
context:
space:
mode:
Diffstat (limited to 'test/Lexer/has_attribute_objc_boxable.m')
-rw-r--r--test/Lexer/has_attribute_objc_boxable.m8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/Lexer/has_attribute_objc_boxable.m b/test/Lexer/has_attribute_objc_boxable.m
new file mode 100644
index 000000000000..e172ecaba2bb
--- /dev/null
+++ b/test/Lexer/has_attribute_objc_boxable.m
@@ -0,0 +1,8 @@
+// RUN: %clang_cc1 -E %s -o - | FileCheck %s
+
+#if __has_attribute(objc_boxable)
+int has_objc_boxable_attribute();
+#endif
+
+// CHECK: has_objc_boxable_attribute
+