PR middle-end/77357 - strlen of constant strings not folded
[official-gcc.git] / gcc / testsuite / gcc.dg / 20040920-1.c
bloba38ff8889304ad0fb506ad1cc979e831c2aa294d
1 /* { dg-do compile } */
2 int bob;
3 struct a
5 int foo;
6 };
7 int main(void)
9 struct a bar;
10 bob(5); /* { dg-error "called object 'bob' is not a function" } */
11 bar.foo(); /* { dg-error "called object 'bar.foo' is not a function" } */