Debian Codegraph @

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

raw
1 // PR c++/30299
2
3 struct A
4 {
5 int i;
6 };
7
8 template<void> struct B : A // { dg-error "not a valid type" }
9 {
10 B() { this->i; }
11 };