aboutsummaryrefslogtreecommitdiff
path: root/clang/test/FixIt/fixit-objc-message-comma-separator.m
blob: c53919a6280e1b0cdc64984b74df19f7a2c7c2f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// RUN: not %clang_cc1 -triple x86_64-apple-darwin10  -fdiagnostics-parseable-fixits -x objective-c %s 2>&1 | FileCheck %s

@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: {13:39-13:40}:""