aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/objc
diff options
context:
space:
mode:
authorOvidiu Predescu <ovidiu@gcc.gnu.org>2000-12-14 22:02:18 +0000
committerOvidiu Predescu <ovidiu@gcc.gnu.org>2000-12-14 22:02:18 +0000
commit2e82aa0fd98630cc5aaa888d2ce8810f31dc2ca3 (patch)
tree85c4f59a64508c000f87365a1171970006282feb /gcc/testsuite/objc
parentc097fab64701368d0d4cc404f6a7042fd100822d (diff)
downloadgcc-2e82aa0fd98630cc5aaa888d2ce8810f31dc2ca3.zip
gcc-2e82aa0fd98630cc5aaa888d2ce8810f31dc2ca3.tar.gz
gcc-2e82aa0fd98630cc5aaa888d2ce8810f31dc2ca3.tar.bz2
Added.
From-SVN: r38261
Diffstat (limited to 'gcc/testsuite/objc')
-rw-r--r--gcc/testsuite/objc/execute/protocol.m16
1 files changed, 16 insertions, 0 deletions
diff --git a/gcc/testsuite/objc/execute/protocol.m b/gcc/testsuite/objc/execute/protocol.m
new file mode 100644
index 0000000..96ce875
--- /dev/null
+++ b/gcc/testsuite/objc/execute/protocol.m
@@ -0,0 +1,16 @@
+@protocol Foo
+- (void)foo;
+@end
+
+@interface Foo_c <Foo>
+{
+}
+- (void)foo;
+@end
+
+@implementation Foo_c
+- (void)foo
+{
+}
+@end
+