summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/void4.C
blob: fe30b2e3736bcdb76dac9fc82b771760de39b4ab (plain)
1
2
3
4
5
6
7
//PR c++/28638

template<void> struct A;  // { dg-error "not a valid type" }

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

B<A> b;                  // { dg-error "template|invalid type" }