OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
2011-10-18 Janus Weil <janus@gcc.gnu.org>
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
objc.dg
/
naming-3.m
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
}