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
2017-07-25 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
objc.dg
/
naming-3.m
blob
dea388c5bd7eb094718f3e2535838033e5bc7df1
1
/* Test for class name same as an unrelated struct field name. */
2
/* { dg-do compile } */
3
@interface PassThrough {
4
5
}
6
@end
7
8
struct S {
9
int (*PassThrough)();
10
};
11
12
int main()
13
{
14
PassThrough* pt;
15
struct S s;
16
s.PassThrough();
17
}