OSDN Git Service

PR c++/28736
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / template / void4.C
index 7d264fb..fe30b2e 100644 (file)
@@ -4,4 +4,4 @@ template<void> struct A;  // { dg-error "not a valid type" }
 
 template<template<int> class> struct B {};
 
-B<A> b;
+B<A> b;                  // { dg-error "template|invalid type" }