Sign in
gnu
/
gcc
/
refs/heads/releases/gcc-4.8
/
.
/
gcc
/
testsuite
/
objc.dg
/
naming-3.m
blob: dea388c5bd7eb094718f3e2535838033e5bc7df1 [
file
] [
log
] [
blame
]
/* Test for class name same as an unrelated struct field name. */
/* { dg-do compile } */
@interface
PassThrough
{
}
@end
struct
S
{
int
(*
PassThrough
)();
};
int
main
()
{
PassThrough
*
pt
;
struct
S s
;
s
.
PassThrough
();
}