summaryrefslogtreecommitdiff
path: root/gcc/testsuite/objc/execute/bycopy-1.m
blob: c719d27d18beb56a19f19d24b2b23e9672021f72 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/*
 * Contributed by Nicola Pero <nicola@brainstorm.co.uk>
 * Fri Feb  2 11:48:01 GMT 2001
 */

#include "../../objc-obj-c++-shared/Protocol1.h"

@protocol MyProtocol
- (bycopy id) bycopyMethod;
@end

int main (void)
{
  [nil bycopyMethod];

   exit (0);
}