summaryrefslogtreecommitdiff
path: root/regress/misc/objc/main.m
blob: 6b4bc13815b16e58d671fdf9186e34ca9149e453 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include <stdlib.h>

@interface Foo
+ (void) bar;
@end

@implementation Foo
+ (void) bar {
  exit(0);
}
@end

int main (void)
{
  [Foo bar];

  return 1;
}