repo.or.cz
/
clang.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
StmtPrinter: factor out arg printing code to PrintCallArgs
[clang.git]
/
test
/
SemaTemplate
/
instantiate-enum-2.cpp
blob
aa3b590cada49c6956bb1fe187bef4f6b28b9582
1
// RUN: %clang_cc1 %s -fsyntax-only -verify
2
3
template
<
int
IntBits
>
struct
X
{
4
enum
{
5
IntShift
= (
unsigned long long
)
IntBits
,
6
ShiftedIntMask
= (
1
<<
IntShift
)
7
};
8
};
9
X
<
1
>
x
;