☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
objc.dg
/
naming-3.m
☽
☼
gcc/testsuite/objc.dg/naming-3.m
code
plain
raw
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
}