aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/ttp7.C
blob: 0b982170e78ed99b1035b967d816ba345aea8df2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Build don't link:

template<class E> class D
{
};

template<template<class> class D,class E> class C	// ERROR - ref below
{
	D<int,int> d;				// ERROR - arg not match
};

int main()
{
	C<D,int> c;
}