Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
nsdmi16.C
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>
{};
}