summaryrefslogtreecommitdiff
path: root/tests/examplefiles/objc_example.m
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2011-06-18 13:49:00 +0200
committerGeorg Brandl <georg@python.org>2011-06-18 13:49:00 +0200
commit1507dac8fd099aad7afca378965ceb508b00dddd (patch)
tree7c7a3448b6b7628f8bd33e207c1b68854ad375ae /tests/examplefiles/objc_example.m
parent522b59a55921a278a847c573974811417cd9fac6 (diff)
parent0bf6072b0e75fa4b6afab5d23477d7aa4aa1c77c (diff)
downloadpygments-1507dac8fd099aad7afca378965ceb508b00dddd.tar.gz
merge with bgoetzmann/pygments-main
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];