Support GCC10 type name:

(std::pair<std::__strip_reference_wrapper<const char *>::__type, std::__strip_reference_wrapper<int>::__type>) { "s", 10 }
i.e. the array size is not part of the type.
This commit is contained in:
Axel Naumann 2020-08-20 11:57:32 +02:00 committed by jenkins
parent 06afb308e4
commit dfb84fe995

View File

@ -14,7 +14,7 @@
#include <tuple>
std::make_pair("s",10)
//CHECK: (std::pair<{{.+char.+\[2\].*,.*int.*}}>) { "s", 10 }
//CHECK: (std::pair<{{.+char.+.*,.*int.*}}>) { "s", 10 }
std::make_pair(4L,'c')
//CHECK: (std::pair<{{.*long.*,.*char.*}}>) { 4, 'c' }