aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/objc/execute/bycopy-1.m
blob: 358b6f92b32c912fe2ca7f52babb7fa8effe7195 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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;
}