First version committed to git
[zpugcc/jano.git] / toolchain / gcc / gcc / testsuite / g++.dg / template / defarg4.C
blob293538adbd15b5fe069d9c89f3f3eafb1409ca57
1 // PR c++/14763
3 struct A { 
4   int get() const {} 
5   static A *foo(); 
6 }; 
7  
8 template<bool> struct S { 
9   S(unsigned int = A::foo()->get())  ; 
10 }; 
12 void foo() throw() { 
13   S<false> f; 
14