summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/void14.C
blob: 7781c61877996c98f40e3e8bac78024fee834a43 (plain)
1
2
3
4
5
6
7
// PR c++/36411
// { dg-do compile }

template<template<void> class> struct A // { dg-error "not a valid type" }
{
  template<template<int> class T> A<T> foo(); // { dg-error "mismatch|expected|invalid" }
};