Sign in
llvm
/
llvm-archive
/
b74e25f9042d5657e8f400dd820eba426827f1dd
/
.
/
llvm-gcc-4.2
/
gcc
/
testsuite
/
gcc.dg
/
20040920-1.c
blob: a38ff8889304ad0fb506ad1cc979e831c2aa294d [
file
] [
log
] [
blame
]
/* { dg-do compile } */
int
bob
;
struct
a
{
int
foo
;
};
int
main
(
void
)
{
struct
a bar
;
bob
(
5
);
/* { dg-error "called object 'bob' is not a function" } */
bar
.
foo
();
/* { dg-error "called object 'bar.foo' is not a function" } */
}