Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
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
};