From: Marek Polacek Date: Wed, 22 May 2019 22:56:00 +0000 (+0000) Subject: udlit-char-template-neg.C: Expect the error on a different line. X-Git-Tag: misc/cutover-git~5303 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dd2ce6631ed696a02440ba64aad180ab8493ab60;p=thirdparty%2Fgcc.git udlit-char-template-neg.C: Expect the error on a different line. * g++.dg/cpp1y/udlit-char-template-neg.C: Expect the error on a different line. Check the column number too. From-SVN: r271530 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 02321f04d78d..d92eb8b1575d 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2019-05-22 Marek Polacek + + * g++.dg/cpp1y/udlit-char-template-neg.C: Expect the error on a + different line. Check the column number too. + 2019-05-22 Uroš Bizjak * gcc.target/i386/vect-signbitf.c (dg-final): Improve diff --git a/gcc/testsuite/g++.dg/cpp1y/udlit-char-template-neg.C b/gcc/testsuite/g++.dg/cpp1y/udlit-char-template-neg.C index e77ea45890d5..d3d712114c0a 100644 --- a/gcc/testsuite/g++.dg/cpp1y/udlit-char-template-neg.C +++ b/gcc/testsuite/g++.dg/cpp1y/udlit-char-template-neg.C @@ -2,7 +2,7 @@ template int - operator"" _script() - { return 42; } // { dg-error "literal operator template|has invalid parameter list" } + operator"" _script() // { dg-error "3:literal operator template" } + { return 42; } int i = "hi!"_script;