diff options
| author | Douglas Gregor <dgregor@apple.com> | 2009-07-22 20:07:21 +0000 |
|---|---|---|
| committer | Douglas Gregor <dgregor@apple.com> | 2009-07-22 20:07:21 +0000 |
| commit | b3a1fdc363679f753f9bd16eff3cef160b52dcf6 (patch) | |
| tree | 080d7d3172da89348bb817e5b69be6bc0c7fb80a | |
| parent | 60454827929a764cb31fef5aa27c4c7d0a581e7e (diff) | |
| download | bcm5719-llvm-b3a1fdc363679f753f9bd16eff3cef160b52dcf6.tar.gz bcm5719-llvm-b3a1fdc363679f753f9bd16eff3cef160b52dcf6.zip | |
Slighty more testing for template argument deduction with array arguments
llvm-svn: 76774
| -rw-r--r-- | clang/test/SemaTemplate/temp_class_spec.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/test/SemaTemplate/temp_class_spec.cpp b/clang/test/SemaTemplate/temp_class_spec.cpp index da343507179..db154f6076b 100644 --- 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 { |

