Followup to revision 364545: Turns out that clang issues different errors for C+...
authorMarshall Clow <mclow.lists@gmail.com>
Thu, 27 Jun 2019 15:37:31 +0000 (15:37 +0000)
committerMarshall Clow <mclow.lists@gmail.com>
Thu, 27 Jun 2019 15:37:31 +0000 (15:37 +0000)
llvm-svn: 364554

libcxx/test/std/strings/basic.string.hash/char_type_hash.fail.cpp
libcxx/test/std/strings/string.view/string.view.hash/char_type.hash.fail.cpp

index 7857ac7..c4fb8ca 100644 (file)
@@ -53,7 +53,7 @@ template <class CharT>
 void test() {
     typedef std::basic_string<CharT, trait<CharT> > str_t;
     std::hash<str_t>
-        h; // expected-error-re 4 {{call to implicitly-deleted default constructor of 'std::hash<str_t>' {{.+}}}}}
+        h; // expected-error-re 4 {{{{call to implicitly-deleted default constructor of 'std::hash<str_t>'|implicit instantiation of undefined template}} {{.+}}}}}}
 }
 
 int main(int, char**) {
index 587c989..80066cb 100644 (file)
@@ -54,7 +54,7 @@ template <class CharT>
 void test() {
     typedef std::basic_string_view<CharT, trait<CharT> > strv_t;
     std::hash<strv_t>
-        h; // expected-error-re 4 {{call to implicitly-deleted default constructor of 'std::hash<strv_t>' {{.+}}}}}}
+        h; // expected-error-re 4 {{{{call to implicitly-deleted default constructor of 'std::hash<strv_t>'|implicit instantiation of undefined template}} {{.+}}}}}}
 }
 
 int main(int, char**) {