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