Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
083128f6b13dfa4fc615a838c49b516d901b1ac0
/
.
/
test
/
SemaCXX
/
static-array-member.cpp
blob: dac70cd2eabf71fed5a4450b5478c46b4ac7908f [
file
] [
log
] [
blame
]
// RUN: clang-cc -fsyntax-only %s
struct
X0
{
static
int
array
[];
int
x
;
int
y
;
};
int
X0
::
array
[
sizeof
(
X0
)
*
2
];
template
<
typename
T
,
int
N
>
struct
X1
{
static
T array
[];
};
template
<
typename
T
,
int
N
>
T X1
<
T
,
N
>::
array
[
N
];