summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaTemplate/pack-deduction.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2018-07-19 19:05:13 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2018-07-19 19:05:13 +0000
commitd4d6e21269a36773ed5e61e7e6b69b9a852af79c (patch)
treea0493f89e405dfa621a01ea63932ec91b613afa3 /clang/test/SemaTemplate/pack-deduction.cpp
parent73053b221f8a01b242f7a81c1e4ca0808dd0c984 (diff)
downloadbcm5719-llvm-d4d6e21269a36773ed5e61e7e6b69b9a852af79c.tar.gz
bcm5719-llvm-d4d6e21269a36773ed5e61e7e6b69b9a852af79c.zip
Fix failing testcase to actually be valid.
llvm-svn: 337483
Diffstat (limited to 'clang/test/SemaTemplate/pack-deduction.cpp')
-rw-r--r--clang/test/SemaTemplate/pack-deduction.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/SemaTemplate/pack-deduction.cpp b/clang/test/SemaTemplate/pack-deduction.cpp
index db0bb585267..f9309d52111 100644
--- a/clang/test/SemaTemplate/pack-deduction.cpp
+++ b/clang/test/SemaTemplate/pack-deduction.cpp
@@ -152,7 +152,7 @@ namespace partial_full_mix {
pair<tuple<int, float>, tuple<char, double>> k4 = A<int, float>().g<char>(pair<int, char>(), pair<float, double>(), pair<void, long>()); // expected-error {{no match}}
// FIXME: We should accept this by treating the pack of pairs as having a fixed length of 2 here.
- tuple<int[2], int[4]> k5 = A<int[1], int[3]>::h<int[2]>(tuple<pair<int[1], int[2]>, pair<int[3], int[4]>, pair<int[5], int[5]>>()); // expected-error {{no match}}
+ tuple<int[2], int[4]> k5 = A<int[1], int[3]>::h<int[2]>(tuple<pair<int[1], int[2]>, pair<int[3], int[4]>, pair<int, int>>()); // expected-error {{no match}}
}
namespace substitution_vs_function_deduction {
OpenPOWER on IntegriCloud