aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/template/ttp14.C
blob: 2b216090be3d091c21f796f15d54bb87615bbde1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// { dg-do compile }

// Origin: akim@epita.fr
//	   Volker Reichelt <reichelt@gcc.gnu.org>

// PR c++/18276: Template substitution of template template parameter

template<template<int> class> struct A;

template<int> struct B
{
    template<template<int> class> friend class A;
};

B<0> b;