Mercurial > hg > CbC > CbC_gcc
diff gcc/testsuite/g++.dg/cpp1y/auto-fn54.C @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | 84e7813d76e9 |
children |
line wrap: on
line diff
--- a/gcc/testsuite/g++.dg/cpp1y/auto-fn54.C Thu Oct 25 07:37:49 2018 +0900 +++ b/gcc/testsuite/g++.dg/cpp1y/auto-fn54.C Thu Feb 13 11:34:05 2020 +0900 @@ -1,3 +1,3 @@ // { dg-do compile { target c++14 } } -using T = int () -> decltype(auto); // { dg-error "function with trailing return type not declared with .auto." } +using T = int () -> decltype(auto); // { dg-error "11:.type name. function with trailing return type not declared with .auto." }