blob: b52ff89174a6fc3c661d9203659a8b4ee2c36cc7 (
plain)
1
2
3
4
5
6
7
8
9
|
// PR c++/19894
// Origin: Volker Reichelt <reichelt@igpm.rwth-aachen.de>
template<typename T> struct A
{
T A::* p; // { dg-error "void" }
};
A<void> a; // { dg-message "instantiated" }
|