diff options
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.73.0/tests/input/oc/issue_2631.m')
-rw-r--r-- | debian/uncrustify-trinity/uncrustify-trinity-0.73.0/tests/input/oc/issue_2631.m | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.73.0/tests/input/oc/issue_2631.m b/debian/uncrustify-trinity/uncrustify-trinity-0.73.0/tests/input/oc/issue_2631.m new file mode 100644 index 00000000..7989b020 --- /dev/null +++ b/debian/uncrustify-trinity/uncrustify-trinity-0.73.0/tests/input/oc/issue_2631.m @@ -0,0 +1,17 @@ +@protocol SomeProtocol +Props Method(const Contents &options = {}); +@end + +@interface SomeClass +Props Method1(const Contents &options = {}); +@end + + +@implementation SomeClass +Props Method1(const Contents options = {}); +@end + +void Method2(const Contents options = {}) { +} + +void Method3(const Contents &options = { .text = 10 }); |