comparison gcc/testsuite/g++.dg/template/defarg4.C @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents 04ced10e8804
children
comparison
equal deleted inserted replaced
111:04ced10e8804 131:84e7813d76e9
1 // PR c++/14763 1 // PR c++/14763
2 2
3 struct A { 3 struct A {
4 int get() const {} 4 int get() const { return 0; }
5 static A *foo(); 5 static A *foo();
6 }; 6 };
7 7
8 template<bool> struct S { 8 template<bool> struct S {
9 S(unsigned int = A::foo()->get()) ; 9 S(unsigned int = A::foo()->get()) ;