summaryrefslogtreecommitdiff
path: root/tests/examplefiles/objc_example.m
diff options
context:
space:
mode:
authorMher Movsisyan <mher.movsisyan@gmail.com>2011-06-30 16:55:13 +0500
committerMher Movsisyan <mher.movsisyan@gmail.com>2011-06-30 16:55:13 +0500
commita7646a32c3ae30b8ec46ba00ef3b1128e11fe209 (patch)
tree2fc700b1e615e59713c5a062f3b4958068c29778 /tests/examplefiles/objc_example.m
parent6fa2640b2cb518a26f3435606bd58c1825ec4d93 (diff)
parent852890b6165d2b58588a519b00a7ed7050acc0a2 (diff)
downloadpygments-a7646a32c3ae30b8ec46ba00ef3b1128e11fe209.tar.gz
Merge with https://bitbucket.org/birkenfeld/pygments-main and regenerate _mapping.py
Diffstat (limited to 'tests/examplefiles/objc_example.m')
-rw-r--r--tests/examplefiles/objc_example.m14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/examplefiles/objc_example.m b/tests/examplefiles/objc_example.m
index c2a1c414..cb5c0975 100644
--- a/tests/examplefiles/objc_example.m
+++ b/tests/examplefiles/objc_example.m
@@ -1,5 +1,19 @@
#import "Somefile.h"
+@implementation ABC
+
+- (id)a:(B)b {
+ return 1;
+}
+
+@end
+
+@implementation ABC
+
+- (void)xyz;
+
+@end
+
NSDictionary *dictionary = [NSDictionary dictionaryWithObjectsAndKeys:
@"quattuor", @"four", @"quinque", @"five", @"sex", @"six", nil];