summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/oc/objc.mm
diff options
context:
space:
mode:
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/oc/objc.mm')
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/oc/objc.mm8
1 files changed, 8 insertions, 0 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/oc/objc.mm b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/oc/objc.mm
new file mode 100644
index 00000000..7f0e706a
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/oc/objc.mm
@@ -0,0 +1,8 @@
+void foo()
+{
+ if(key)
+ ret.key = [NSString stringWithCharacters:&key length:1];
+
+ [gUndoMenu->m_UndoItem setTitle:[NSString stringWithFormat:[NSString stringWithUTF8String:localizedUndo], undoName.c_str()]];
+ [gUndoMenu->m_RedoItem setTitle:[NSString stringWithFormat:[NSString stringWithUTF8String:localizedRedo], redoName.c_str()]];
+}