Debian Codegraph @

gcc/testsuite/g++.dg/template/arg7.C

raw
1 // PR c++/27425, 34274
2
3 template<typename T> struct A
4 {
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 };
10
11 A<void> a; // { dg-message "required" }