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
* auto-profile.c (afdo_annotate_cfg): Use update_max_bb_count.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.robertl
/
eb8.C
blob
c660050628ec0271f4a084387b4a80466bf871fb
1
// { dg-do assemble }
2
3
class foo {
4
public:
5
operator <<(const void *); //{ dg-error "" } no return type
6
operator <<(char *); //{ dg-error "" } no return type
7
};
8
9
void main() // { dg-error "must return .int" }
10
{
11
foo f;
12
f << (void*)0;
13
}
14