repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[clang] Handle __declspec() attributes in using
[llvm-project.git]
/
clang
/
test
/
SemaCXX
/
decltype-pr4448.cpp
blob
b781b891ffb7868f82a6fc0a1281872c10a71a89
1
// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++11
2
// expected-no-diagnostics
3
4
template
<
typename T
,
T t
,
decltype
(
t
+
2
)
v
>
5
struct
Convoluted
{};
6
7
int
test_array
[
5
];
8
9
Convoluted
<
int
*,
test_array
,
nullptr
>
tarray
;