Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
g++.dg
/
parse
/
array-size1.C
blob: 2bc31f758949a35d8c57941197acb814d3889bd3 [
file
] [
log
] [
blame
]
// PR c++/38
// Origin: Wolfgang Bangerth <bangerth@dealii.org>
// { dg-do compile }
template
<
int
i
>
struct
A
{
static
const
int
n
=
1
;
typedef
double
X
[
n
];
A
(
const
X
&);
};
template
<
int
i
>
A
<i>
::
A
(
const
X
&)
{}