OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
2008-04-27 Richard Guenther <rguenther@suse.de>
[pf3gnuchains/gcc-fork.git]
/
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
}