I noticed this test fails since r271492. Probably obvious, but... Tested on x86_64-linux, ok for trunk?
2019-05-22 Marek Polacek <pola...@redhat.com> * g++.dg/cpp1y/udlit-char-template-neg.C: Expect the error on a different line. Check the column number too. diff --git gcc/testsuite/g++.dg/cpp1y/udlit-char-template-neg.C gcc/testsuite/g++.dg/cpp1y/udlit-char-template-neg.C index e77ea45890d..6295256b53d 100644 --- gcc/testsuite/g++.dg/cpp1y/udlit-char-template-neg.C +++ gcc/testsuite/g++.dg/cpp1y/udlit-char-template-neg.C @@ -2,7 +2,7 @@ template<typename CharT, CharT... String> int - operator"" _script() - { return 42; } // { dg-error "literal operator template|has invalid parameter list" } + operator"" _script() // { dg-error "3:literal operator template|has invalid parameter list" } + { return 42; } int i = "hi!"_script;