PR c++/81917 - ICE with void_t and partial specialization.
[official-gcc.git] / gcc / testsuite / g++.dg / template / arg7.C
blob4575f2513d6bfc35f96d590fecdd091515ed4cfb
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 *-*-* } .-1 }
7   template<T> struct C;                    // { dg-error "void" }
8   B<C> b;
9 };
11 A<void> a;                      // { dg-message "required" }