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