From cf142085481fb98986101d9b47af2211f28eecb4 Mon Sep 17 00:00:00 2001 From: Marek Polacek Date: Mon, 28 Jan 2019 21:58:36 +0000 Subject: [PATCH] * g++.dg/cpp0x/enum37.C: Add dg-error. From-SVN: r268341 --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/g++.dg/cpp0x/enum37.C | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index ab61b302a6d..a36e19c5152 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2019-01-28 Marek Polacek + + * g++.dg/cpp0x/enum37.C: Add dg-error. + 2019-01-28 Bernd Edlinger * c-c++-common/Waddress-of-packed-member-1.c: Extended test case. diff --git a/gcc/testsuite/g++.dg/cpp0x/enum37.C b/gcc/testsuite/g++.dg/cpp0x/enum37.C index 6aa3d4015d7..b67720d5ea0 100644 --- a/gcc/testsuite/g++.dg/cpp0x/enum37.C +++ b/gcc/testsuite/g++.dg/cpp0x/enum37.C @@ -21,4 +21,4 @@ enum E { }; same s; -same s2; +same s2; // { dg-error "incomplete type" "" { target short_enums } } -- 2.30.2