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" }
}