Commit dd2ce663 by Marek Polacek Committed by Marek Polacek

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
parent f9b22a0c
2019-05-22 Marek Polacek <polacek@redhat.com>
* 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 <ubizjak@gmail.com> 2019-05-22 Uroš Bizjak <ubizjak@gmail.com>
* gcc.target/i386/vect-signbitf.c (dg-final): Improve * gcc.target/i386/vect-signbitf.c (dg-final): Improve
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
template<typename CharT, CharT... String> template<typename CharT, CharT... String>
int int
operator"" _script() operator"" _script() // { dg-error "3:literal operator template" }
{ return 42; } // { dg-error "literal operator template|has invalid parameter list" } { return 42; }
int i = "hi!"_script; int i = "hi!"_script;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment