2014-01-30 Alangi Derick <alangiderick@gmail.com>
[official-gcc.git] / gcc / testsuite / g++.dg / template / arg7.C
blobdfd26bd2d975e7c7c3493c2c97d7bf33e9a65a02
1 // PR c++/27425, 34274
3 template<typename T> struct A
5   template<template<T> class> struct B {}; // { dg-error "void|mismatch|expected" }
6   // { dg-bogus "not supported" "" { target *-*-* } 5 }
7   template<T> struct C;                    // { dg-error "void" }
8   B<C> b;
9 };
11 A<void> a;                      // { dg-message "required" }