[PR c++/84702] ICE with default tmpl arg of overload set
[official-gcc.git] / gcc / testsuite / g++.dg / eh / cond2.C
blobe4b45f7a46f8289c1e70e3ea78770f472534466d
1 // PR c++/14083
3 struct A { 
4   A() throw() { } 
5   A(const A&) throw() { } 
6 }; 
7  
8 struct X { 
9   A a; 
10   X(); 
11   X& operator=(const X& __str); 
12 }; 
14 bool operator==(const X& __lhs, const char* __rhs); 
15         
16 int main() { 
17   X x; 
18   x=="" ? x : throw 1;