repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Update concepts branch to revision 131834
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
20040920-1.c
blob
a38ff8889304ad0fb506ad1cc979e831c2aa294d
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
}