repo.or.cz
/
clang
/
acc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Add LLVM runtime checks to build path
[clang/acc.git]
/
test
/
SemaCXX
/
decltype-pr4444.cpp
blob
8b2f584d24dd5468c7166122eee8e538327ffb74
1
// RUN: clang-cc -fsyntax-only -verify %s -std=c++0x
2
3
template
<
typename T
,
T t
>
4
struct
TestStruct
{
5
typedef decltype
(
t
+
2
)
sum_type
;
6
};