blob: 07bc198e6916622a7401a2a1e68a3f0d2fa95f35 [file] [log] [blame]
// PR c++/94926
// { dg-do compile { target c++11 } }
template<typename>
struct A {
static auto self_reference = A{}; // { dg-error "incomplete" }
};
int main() {
A<void>{};
}