From 9e2ea13ec2a6d210520b87ffe8d44c30ede42994 Mon Sep 17 00:00:00 2001 From: Martin Sebor Date: Fri, 27 Jan 2017 16:51:54 +0000 Subject: [PATCH] re PR c++/71290 (Flexible array member is not diagnosed with -pedantic) PR c++/71290 gcc/testsuite/ChangeLog: * obj-c++.dg/property/at-property-23.mm: Remove an escaped newline from a dg-error directive. From-SVN: r244990 --- gcc/testsuite/ChangeLog | 6 ++++++ gcc/testsuite/obj-c++.dg/property/at-property-23.mm | 3 +-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 9b164d30478..39f148fb351 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2017-01-27 Martin Sebor + + PR c++/71290 + * obj-c++.dg/property/at-property-23.mm: Remove an escaped newline from + a dg-error directive. + 2017-01-27 Vladimir Makarov PR target/79131 diff --git a/gcc/testsuite/obj-c++.dg/property/at-property-23.mm b/gcc/testsuite/obj-c++.dg/property/at-property-23.mm index 0edb37b65cc..2d704454199 100644 --- a/gcc/testsuite/obj-c++.dg/property/at-property-23.mm +++ b/gcc/testsuite/obj-c++.dg/property/at-property-23.mm @@ -14,6 +14,5 @@ @property int a[8]; /* { dg-error "property can not be an array" } */ @property int b:8; /* { dg-error "expected" } */ @property int c[]; /* { dg-error "property can not be an array" } */ -/* { dg-error "forbids flexible array member" "flexible array member" { target \ -*-*-* } .-1 } */ +/* { dg-error "forbids flexible array member" "flexible array member" { target *-*-* } .-1 } */ @end -- 2.30.2