summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/oc/50026-exceptions.m
diff options
context:
space:
mode:
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/oc/50026-exceptions.m')
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/oc/50026-exceptions.m27
1 files changed, 0 insertions, 27 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/oc/50026-exceptions.m b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/oc/50026-exceptions.m
deleted file mode 100644
index 150de092..00000000
--- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/oc/50026-exceptions.m
+++ /dev/null
@@ -1,27 +0,0 @@
-
-int main(int argc, const char *argv[])
-{
- @try
- {
- [NSException raise: NSInternalInconsistency
- format: @"An internal inconsistency was raised"];
- }
- @catch (NSException *e)
- {
- NSLog(@"Catch");
- }
- @finally
- {
- NSLog(@"Finally");
- }
-
- @throw[NSException exceptionWithName: @"foo" reason: @"bar" userInfo: nil];
-
- NSException *exception = [NSException exceptionWithName: @"HotTeaException"
- reason: @"The tea is too hot"
- userInfo: nil];
-
- @throw exception;
-
- return 0;
-}