]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/20_util/pair/astuple/get_by_type_neg.cc
call.c (struct conversion_info): Rename 'from_type' to 'from'.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 20_util / pair / astuple / get_by_type_neg.cc
index a2bb0ab292d58f8e5dd1f52507dbfb5ff96110f1..34bc46e7734313ea88c7a7616492e35465585aaa 100644 (file)
@@ -24,5 +24,5 @@ void test01()
 {
   std::pair<int, int> p;
 
-  std::get<int>(p);  // { dg-error "ambiguous" }
+  std::get<int>(p);  // { dg-error "ambiguous|lvalue" }
 }