Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
8b9adfea5e834eaee0f45d8cc7fb052d68df4a46
/
.
/
test
/
SemaTemplate
/
instantiate-enum-2.cpp
blob: 2b56a036e94796c75b5dce75a7ef22f604fb9bad [
file
] [
log
] [
blame
]
// RUN: clang-cc %s -fsyntax-only -verify
template
<
int
IntBits
>
struct
X
{
enum
{
IntShift
=
(
unsigned
long
long
)
IntBits
,
ShiftedIntMask
=
(
1
<<
IntShift
)
};
};
X
<
1
>
x
;