From dd2ce6631ed696a02440ba64aad180ab8493ab60 Mon Sep 17 00:00:00 2001 From: Marek Polacek Date: Wed, 22 May 2019 22:56:00 +0000 Subject: [PATCH] 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 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/g++.dg/cpp1y/udlit-char-template-neg.C | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 02321f04d78..d92eb8b1575 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 e77ea45890d..d3d712114c0 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; -- 2.30.2