OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [20040920-1.c] - Blame information for rev 827

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
/* { 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
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.