From: Douglas Gregor Date: Wed, 22 Jul 2009 20:07:21 +0000 (+0000) Subject: Slighty more testing for template argument deduction with array arguments X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1f618a070121cf30bfe9b615c19df88c73248956;p=clang Slighty more testing for template argument deduction with array arguments git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@76774 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/SemaTemplate/temp_class_spec.cpp b/test/SemaTemplate/temp_class_spec.cpp index da34350717..db154f6076 100644 --- a/test/SemaTemplate/temp_class_spec.cpp +++ b/test/SemaTemplate/temp_class_spec.cpp @@ -45,6 +45,9 @@ struct is_const { int is_const0[is_const::value? -1 : 1]; int is_const1[is_const::value? 1 : -1]; int is_const2[is_const::value? 1 : -1]; +int is_const3[is_const::value? 1 : -1]; +int is_const4[is_const::value? 1 : -1]; +int is_const4[is_const::value? -1 : 1]; template struct is_volatile {