Sign in
llvm
/
llvm-archive
/
b74e25f9042d5657e8f400dd820eba426827f1dd
/
.
/
llvm-gcc-4.2
/
gcc
/
testsuite
/
g++.dg
/
other
/
operator2.C
blob: 4b952bf11eb98a809504531e846eb4482386537f [
file
] [
log
] [
blame
]
// PR c++/28852
// { do-do compile }
struct
A
{
operator
int
&(
int
);
// { dg-error "void" }
};
A a
;
int
&
i
=
a
;
// { dg-error "initialization" }