blob: bfca2a8048c8b6166f7b1fe37f27a17081504108 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
static void func() {
[object test:NO ? PARAM1 : PARAM2 test2:YES];
}
static void func() {
[object test:NO ? PARAM1 : PARAM2
test2:YES
test3:YES];
}
static void func() {
[object test:NO ? PARAM1 : PARAM2
test2:YES
test3:YES ? PARAM1 : PARAM2
test4:NO];
}
static void func() {
[object test:NO ? PARAM1 : YES ? nil:nil
test2:YES
test3:YES ? PARAM1 : PARAM2
test4:NO];
}
static void func() {
NSString *s = YES ? [object test:nil
test2:YES
test3:nil
test4:NO] : nil;
}
|