From aae936b9a3914cf4b5d532644fbdcb1bf70f8099 Mon Sep 17 00:00:00 2001 From: Paolo Carlini Date: Mon, 6 Feb 2017 17:49:31 +0000 Subject: [PATCH] =?utf8?q?re=20PR=20c++/70448=20(ICE=20on=20invalid=20code?= =?utf8?q?=20on=20x86=5F64-linux-gnu:=20unexpected=20expression=20?= =?utf8?q?=E2=80=98f=E2=80=99=20of=20kind=20overload)?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 2017-02-06 Paolo Carlini PR c++/70448 * g++.dg/cpp0x/pr70448.C: New. From-SVN: r245213 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/g++.dg/cpp0x/pr70448.C | 6 ++++++ 2 files changed, 11 insertions(+) create mode 100644 gcc/testsuite/g++.dg/cpp0x/pr70448.C diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index c40ae228cf4..99c626c948e 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2017-02-06 Paolo Carlini + + PR c++/70448 + * g++.dg/cpp0x/pr70448.C: New. + 2017-02-06 Dominik Vogt PR 78348 diff --git a/gcc/testsuite/g++.dg/cpp0x/pr70448.C b/gcc/testsuite/g++.dg/cpp0x/pr70448.C new file mode 100644 index 00000000000..75e1e21fd49 --- /dev/null +++ b/gcc/testsuite/g++.dg/cpp0x/pr70448.C @@ -0,0 +1,6 @@ +// { dg-do compile { target c++11 } } + +template +void f(){} + +enum{n=f}; // { dg-error "enumerator value" } -- 2.30.2