Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/g++.dg/template/partial2.C @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
rev | line source |
---|---|
111 | 1 // { dg-do compile } |
2 | |
3 // Origin: lorgon1@yahoo.com | |
4 | |
5 // PR c++/11154: Multi-level template argument in partial ordering of | |
6 // class template | |
7 | |
8 template <class A> struct Outer { | |
9 template <class T, class U = void, class V = void> struct Foo {}; | |
10 template <class T, class U> struct Foo<T,U,void> {}; | |
11 template <class T> struct Foo<T,void,void> {}; | |
12 }; | |
13 | |
14 Outer<int>::Foo<int,void,void> f; |