repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
* tree-loop-distribution.c (struct partition): New field recording
[official-gcc.git]
/
gcc
/
testsuite
/
obj-c++.dg
/
msg-in-protocol.mm
blob
86b7c85a3d3d878d60cfe2bcfac996651756b73f
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
13
void foo()
14
{
15
Foo<Bar> *foo = nil;
16
[foo bang];
17
}
18