Merge from mainline (167278:168000).
[official-gcc/graphite-test-results.git] / gcc / testsuite / g++.dg / template / void13.C
blob3f36735dbc1ee23cf9c824cbd17d3d6231a0ba97
1 // PR c++/30299
3 struct A
5   int i;
6 };
8 template<void> struct B : A  // { dg-error "not a valid type" }
10   B() { this->i; }