diff options
Diffstat (limited to 'gcc-4.9/gcc/testsuite/objc/execute/bycopy-1.m')
-rw-r--r-- | gcc-4.9/gcc/testsuite/objc/execute/bycopy-1.m | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/gcc-4.9/gcc/testsuite/objc/execute/bycopy-1.m b/gcc-4.9/gcc/testsuite/objc/execute/bycopy-1.m new file mode 100644 index 000000000..358b6f92b --- /dev/null +++ b/gcc-4.9/gcc/testsuite/objc/execute/bycopy-1.m @@ -0,0 +1,18 @@ +/* + * Contributed by Nicola Pero <nicola@brainstorm.co.uk> + * Fri Feb 2 11:48:01 GMT 2001 + */ +#include <objc/objc.h> + +@protocol MyProtocol +- (bycopy id) bycopyMethod; +@end + +int main (void) +{ + [nil bycopyMethod]; + + return 0; +} + + |