[PR c++/84702] ICE with default tmpl arg of overload set
[official-gcc.git] / gcc / testsuite / g++.dg / template / static9.C
blob058d4dec5a771cb4e9f60d182c37588a32f7161c
1 // PR c++/17524
3 template<typename T> struct A
5   static const T i = 0; // { dg-error "declared void" "void" }
6 };
8 A<void> a; // { dg-message "required" }