Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
a54da05098aff1ca992f5292f3f6a39ec3cef31e
/
.
/
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
;