Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
incomplete11.C
blob: 38c92e3d337660710e422c8eef237cc242cf5e3f [
file
] [
log
] [
blame
]
// PR c++/84082
// { dg-do compile }
// { dg-options "" }
struct
A
;
template
<typename>
void
foo
()
{
static
int
a
[
A
().
operator
=(
A
())];
// { dg-error "invalid use of incomplete type 'struct A'" }
}