OSDN Git Service

/cp
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / template / void14.C
1 // PR c++/36411
2 // { dg-do compile }
3
4 template<template<void> class> struct A // { dg-error "not a valid type" }
5 {
6   template<template<int> class T> A<T> foo(); // { dg-error "mismatch|expected|invalid" }
7 };