Commit bb08d1ca by Jakub Jelinek Committed by Jakub Jelinek

re PR c++/79064 (Cannot overload member function templates on type of literal)

	PR c++/79064
	* g++.dg/template/overload15.C (f): Use 0u - 1ll instead of 0u - 1l.

From-SVN: r257818
parent 14cf3c00
2018-02-19 Jakub Jelinek <jakub@redhat.com>
PR c++/79064
* g++.dg/template/overload15.C (f): Use 0u - 1ll instead of 0u - 1l.
2018-02-19 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/35339
......
......@@ -5,7 +5,7 @@ template <unsigned N>
void f (char (*)[0u - 1 > N ? 1 : 7]);
template <unsigned N>
void f (char (*)[0u - 1l > N ? 1 : 7]);
void f (char (*)[0u - 1ll > N ? 1 : 7]);
void f ()
{
......
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