Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
other
/
error31.C
blob: fd428bf46d67108332bbf246ea32665613147d7a [
file
] [
log
] [
blame
]
// PR c++/35335
// { dg-do compile }
// { dg-options "" }
// { dg-bogus "not supported by" "" { target *-*-* } 0 }
struct
A
{};
// { dg-message "operator=|no known conversion" }
void
foo
()
{
A a
;
a
=
({
{
1
;
}
});
// { dg-error "no match for" }
}