(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
20040920-1.c
       1  /* { dg-do compile } */
       2  int bob;
       3  struct a
       4  {
       5    int foo;
       6  };
       7  int main(void)
       8  {
       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" } */
      12  }