Sign in
chromium
/
native_client
/
nacl-toolchain
/
gcc-4.4.3
/
.
/
gcc
/
gcc
/
testsuite
/
g++.dg
/
template
/
vla2.C
blob: 183f8fadc0ec82306d8bdf06c23ff7a23b88d49a [
file
] [
log
] [
blame
]
// PR c++/28879
// { dg-do compile }
// { dg-options "" }
struct
A
{
static
int
i
;
int
j
;
};
template
<int>
void
foo
()
{
int
x
[
A
::
i
];
//int y[A().j];
}
void
bar
()
{
foo
<
6
>
();
}