OSDN Git Service

PR c++/9335
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / template / defarg10.C
1 // PR c++/28363
2 // { dg-do compile }
3
4 template<typename T, template<int> class = T>  // { dg-error "invalid use of type" }
5 struct A;
6
7 typedef int I;
8 template<template<int> class = I>  // { dg-error "invalid use of type" }
9 struct B;
10
11 struct S;
12 template<template<int> class = S>  // { dg-error "invalid use of type" }
13 struct C;