Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
local-var1.C
blob: 4b3854b3e53f315ae667e9c3d80241bac350e7c2 [
file
] [
log
] [
blame
]
// PR c++/97186, related to c++/97171 but with a variable
// { dg-do compile { target c++11 } }
namespace
{
template
<
typename
WF
>
void
ml
()
{
extern
WF cr
;
static_assert
(
sizeof
(
cr
)
==
12
,
""
);
}
void
qc
()
{
ml
<
int
[
3
]>
();
}
}