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 {


_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to