1/* { dg-do compile } */
2
3#include <objc/objc.h>
4
5@class Foo;
6
7@protocol Bar
8
9- (void)bang;
10
11@end
12
13void foo()
14{
15    Foo<Bar> *foo = nil;
16    [foo bang];
17}
18
19