summaryrefslogtreecommitdiffstats
path: root/test/FixIt/fixit-objc-message-comma-separator.m
diff options
context:
space:
mode:
Diffstat (limited to 'test/FixIt/fixit-objc-message-comma-separator.m')
-rw-r--r--test/FixIt/fixit-objc-message-comma-separator.m17
1 files changed, 17 insertions, 0 deletions
diff --git a/test/FixIt/fixit-objc-message-comma-separator.m b/test/FixIt/fixit-objc-message-comma-separator.m
new file mode 100644
index 0000000..0caa33e
--- /dev/null
+++ b/test/FixIt/fixit-objc-message-comma-separator.m
@@ -0,0 +1,17 @@
+// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fdiagnostics-parseable-fixits -x objective-c %s 2>&1 | FileCheck %s
+// rdar://11376372
+
+@class NSObject;
+
+@interface TestObj {
+}
+-(void)aMethodWithArg1:(NSObject*)arg1 arg2:(NSObject*)arg2;
+@end
+
+int main(int argc, char *argv[])
+{
+ TestObj *obj;
+ [obj aMethodWithArg1:@"Arg 1 Good", arg2:@"Arg 2 Good"];
+}
+
+// CHECK: {14:39-14:40}:""
OpenPOWER on IntegriCloud