comparison gcc/testsuite/g++.dg/template/void7.C @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children
comparison
equal deleted inserted replaced
68:561a7518be6b 111:04ced10e8804
1 //PR c++/28741
2
3 template<void> struct A // { dg-error "not a valid type" }
4 {
5 static int i;
6 };
7
8 A<0> a; // { dg-message "non-type" }