summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/input/oc/align_colon_with_ternary_2.m
diff options
context:
space:
mode:
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/input/oc/align_colon_with_ternary_2.m')
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/input/oc/align_colon_with_ternary_2.m20
1 files changed, 20 insertions, 0 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/input/oc/align_colon_with_ternary_2.m b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/input/oc/align_colon_with_ternary_2.m
new file mode 100644
index 00000000..b5e5669a
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/input/oc/align_colon_with_ternary_2.m
@@ -0,0 +1,20 @@
+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;
+}