[cfe-commits] r76774 - /cfe/trunk/test/SemaTemplate/temp_class_spec.cpp

Douglas Gregor dgregor at apple.com
Wed Jul 22 13:07:21 PDT 2009


Author: dgregor
Date: Wed Jul 22 15:07:21 2009
New Revision: 76774

URL: http://llvm.org/viewvc/llvm-project?rev=76774&view=rev
Log:
Slighty more testing for template argument deduction with array arguments

Modified:
    cfe/trunk/test/SemaTemplate/temp_class_spec.cpp

Modified: cfe/trunk/test/SemaTemplate/temp_class_spec.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaTemplate/temp_class_spec.cpp?rev=76774&r1=76773&r2=76774&view=diff

==============================================================================
--- cfe/trunk/test/SemaTemplate/temp_class_spec.cpp (original)
+++ cfe/trunk/test/SemaTemplate/temp_class_spec.cpp Wed Jul 22 15:07:21 2009
@@ -45,6 +45,9 @@
 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 {





More information about the cfe-commits mailing list