1// PR c++/14763 2 3struct A { 4 int get() const {} 5 static A *foo(); 6}; 7 8template<bool> struct S { 9 S(unsigned int = A::foo()->get()) ; 10}; 11 12void foo() throw() { 13 S<false> f; 14} 15