From bb08d1cac15e7a60e5750a9f388a88e70ac75b98 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Mon, 19 Feb 2018 19:49:21 +0100 Subject: [PATCH] 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 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/g++.dg/template/overload15.C | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 7f989013c90..b84c10f0b1b 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2018-02-19 Jakub Jelinek + + PR c++/79064 + * g++.dg/template/overload15.C (f): Use 0u - 1ll instead of 0u - 1l. + 2018-02-19 Thomas Koenig PR fortran/35339 diff --git a/gcc/testsuite/g++.dg/template/overload15.C b/gcc/testsuite/g++.dg/template/overload15.C index 567344c9ff7..ea0e548843d 100644 --- a/gcc/testsuite/g++.dg/template/overload15.C +++ b/gcc/testsuite/g++.dg/template/overload15.C @@ -5,7 +5,7 @@ template void f (char (*)[0u - 1 > N ? 1 : 7]); template -void f (char (*)[0u - 1l > N ? 1 : 7]); +void f (char (*)[0u - 1ll > N ? 1 : 7]); void f () { -- 2.30.2