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
This commit is contained in:
parent
9eb7045b54
commit
9e2ea13ec2
|
@ -1,3 +1,9 @@
|
||||||
|
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>
|
2017-01-27 Vladimir Makarov <vmakarov@redhat.com>
|
||||||
|
|
||||||
PR target/79131
|
PR target/79131
|
||||||
|
|
|
@ -14,6 +14,5 @@
|
||||||
@property int a[8]; /* { dg-error "property can not be an array" } */
|
@property int a[8]; /* { dg-error "property can not be an array" } */
|
||||||
@property int b:8; /* { dg-error "expected" } */
|
@property int b:8; /* { dg-error "expected" } */
|
||||||
@property int c[]; /* { dg-error "property can not be an array" } */
|
@property int c[]; /* { dg-error "property can not be an array" } */
|
||||||
/* { dg-error "forbids flexible array member" "flexible array member" { target \
|
/* { dg-error "forbids flexible array member" "flexible array member" { target *-*-* } .-1 } */
|
||||||
*-*-* } .-1 } */
|
|
||||||
@end
|
@end
|
||||||
|
|
Loading…
Reference in New Issue