From 2327deb73b1b91ed7025a266026d906fd8ccafb0 Mon Sep 17 00:00:00 2001 From: Paolo Carlini Date: Mon, 15 Dec 2014 10:47:53 +0000 Subject: [PATCH] pr63996.C: Fix. 2014-12-15 Paolo Carlini * g++.dg/cpp1y/pr63996.C: Fix. From-SVN: r218742 --- gcc/testsuite/ChangeLog | 8 ++++++-- gcc/testsuite/g++.dg/cpp1y/pr63996.C | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 3008b9b640e..55c4a2a88d3 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2014-12-15 Paolo Carlini + + * g++.dg/cpp1y/pr63996.C: Fix. + 2014-12-15 Jakub Jelinek PR tree-optimization/63551 @@ -23,8 +27,8 @@ PR ipa/61602 * gcc.dg/torture/pr61602.c: New testcase. -2014-12-14 Jan Hubicka - +2014-12-14 Jan Hubicka + PR ipa/61558 * g++.dg/torture/pr61558.C: New testcase. diff --git a/gcc/testsuite/g++.dg/cpp1y/pr63996.C b/gcc/testsuite/g++.dg/cpp1y/pr63996.C index c89d5429590..d0bf9b51332 100644 --- a/gcc/testsuite/g++.dg/cpp1y/pr63996.C +++ b/gcc/testsuite/g++.dg/cpp1y/pr63996.C @@ -3,7 +3,7 @@ constexpr int foo (int i) { - int a[i] = { }; + int a[i] = { }; // { dg-error "forbids variable length" } } constexpr int j = foo (1); // { dg-error "is not a constant expression" } -- 2.30.2