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