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