Sign in
llvm
/
llvm-archive
/
f8b4f79771a41ee0a0f02ac90619d37ccd834915
/
.
/
clang-tests
/
gcc-4_2-testsuite
/
src
/
g++.old-deja
/
g++.robertl
/
eb8.C
blob: 97bdc87f326b013dcb97abe33947b39d2a87da84 [
file
] [
log
] [
blame
]
// { dg-do assemble }
class
foo
{
public
:
operator
<<(
char
*);
//{ dg-error "" } no return type
operator
<<(
const
void
*);
//{ dg-error "" } no return type
};
void
main
()
// { dg-error "must return .int" }
{
foo f
;
f
<<
(
void
*)
0
;
}