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