summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/ttp4.C
blob: 0b65ad6d5a5123d6302df771683113fc0f0b201e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// { dg-do assemble  }

template<class E> class D
{
};

template<template<class> class D,class E> class C
{
	D<1> d;			// { dg-error "" } arg not match
};

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