Commit 9e2ea13e by Martin Sebor Committed by Martin Sebor

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
parent 9eb7045b
2017-01-27 Martin Sebor <msebor@redhat.com>
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 <vmakarov@redhat.com>
PR target/79131
......
......@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment