summaryrefslogtreecommitdiffstats
path: root/test/Index/get-cursor-macro-args.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/Index/get-cursor-macro-args.h')
-rw-r--r--test/Index/get-cursor-macro-args.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Index/get-cursor-macro-args.h b/test/Index/get-cursor-macro-args.h
index 40ec8dc..70d0dc7 100644
--- a/test/Index/get-cursor-macro-args.h
+++ b/test/Index/get-cursor-macro-args.h
@@ -2,8 +2,8 @@
+(void)meth;
@end
-#define MACRO2(x) x
-#define MACRO(x) MACRO2(x)
+#define MACRO2(x) (x)
+#define MACRO(x) MACRO2((x))
void test() {
MACRO([MyClass meth]);
OpenPOWER on IntegriCloud