1 // PR c++/14083 2 3 struct A { throwA4 A() throw() { } throwA5 A(const A&) throw() { } 6 }; 7 8 struct X { 9 A a; 10 X(); 11 X& operator=(const X& __str); 12 }; 13 14 bool operator==(const X& __lhs, const char* __rhs); 15 main()16 int main() { 17 X x; 18 x=="" ? x : throw 1; 19 } 20