comparison gcc/testsuite/g++.dg/template/ref6.C @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children
comparison
equal deleted inserted replaced
68:561a7518be6b 111:04ced10e8804
1 // PR c++/53816
2
3 template <typename T>
4 struct S { int v () const; };
5 template <typename T>
6 struct V : public S<T> {};
7 struct U
8 {
9 V<int> v;
10 template<typename T>
11 struct W
12 {
13 W (U const &x) { V<int> const &v = x.v; v.v(); }
14 };
15 };