From: Jakub Jelinek Date: Mon, 19 Feb 2018 18:49:21 +0000 (+0100) Subject: re PR c++/79064 (Cannot overload member function templates on type of literal) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bb08d1cac15e7a60e5750a9f388a88e70ac75b98;p=gcc.git 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 --- 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 () {