projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6045482
)
Slighty more testing for template argument deduction with array arguments
author
Douglas Gregor
<dgregor@apple.com>
Wed, 22 Jul 2009 20:07:21 +0000
(20:07 +0000)
committer
Douglas Gregor
<dgregor@apple.com>
Wed, 22 Jul 2009 20:07:21 +0000
(20:07 +0000)
llvm-svn: 76774
clang/test/SemaTemplate/temp_class_spec.cpp
patch
|
blob
|
history
diff --git
a/clang/test/SemaTemplate/temp_class_spec.cpp
b/clang/test/SemaTemplate/temp_class_spec.cpp
index
da34350
..
db154f6
100644
(file)
--- a/
clang/test/SemaTemplate/temp_class_spec.cpp
+++ b/
clang/test/SemaTemplate/temp_class_spec.cpp
@@
-45,6
+45,9
@@
struct is_const<const T> {
int is_const0[is_const<int>::value? -1 : 1];
int is_const1[is_const<const int>::value? 1 : -1];
int is_const2[is_const<const volatile int>::value? 1 : -1];
+int is_const3[is_const<const int [3]>::value? 1 : -1];
+int is_const4[is_const<const volatile int[3]>::value? 1 : -1];
+int is_const4[is_const<volatile int[3]>::value? -1 : 1];
template<typename T>
struct is_volatile {