Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
g++.dg
/
parse
/
parse2.C
blob: 80a9e38f4825a43b56bfb76e9ee3adb169c4c847 [
file
] [
log
] [
blame
]
/* PR c++/67 */
/* { dg-do compile } */
template
<
class
T
>
struct
foo
{
static
const
int
bar
[
3
];
};
// Used to fail if 2+1 rather than 3.
template
<
class
T
>
const
int
foo
<
T
>::
bar
[
2
+
1
]
=
{
0
,
0
,
0
};