https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79270
Bug ID: 79270 Summary: FAIL: obj-c++.dg/property/at-property-23.mm -fgnu-runtime (test for excess errors) Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: testsuite Assignee: unassigned at gcc dot gnu.org Reporter: danglin at gcc dot gnu.org Target Milestone: --- Host: hppa2.0w-hp-hpux11.11 Target: hppa2.0w-hp-hpux11.11 Build: hppa2.0w-hp-hpux11.11 spawn /test/gnu/gcc/objdir/gcc/testsuite/obj-c++/../../xg++ -B/test/gnu/gcc/objd ir/gcc/testsuite/obj-c++/../../ /test/gnu/gcc/gcc/gcc/testsuite/obj-c++.dg/prope rty/at-property-23.mm -fno-diagnostics-show-caret -fdiagnostics-color=never -nostdinc++ -I/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/hppa2. 0w-hp-hpux11.11 -I/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/includ e -I/test/gnu/gcc/gcc/libstdc++-v3/libsupc++ -I/test/gnu/gcc/gcc/libstdc++-v3/include/backward -I/test/gnu/gcc/gcc/libstdc++-v3/testsuite/util -fmessage-length=0 -fgnu-runtime -ansi -pedantic-errors -Wno-long-long -I/test/gnu/gcc/gcc/gcc/testsuite/../../libobjc -S -o at-property-23.s/test/gnu/gcc/gcc/gcc/testsuite/obj-c++.dg/property/at-property-23.mm:14:1: error: property can not be an array/test/gnu/gcc/gcc/gcc/testsuite/obj-c++.dg/property/at-property-23.mm:15:16: error: expected ';' before ':' token/test/gnu/gcc/gcc/gcc/testsuite/obj-c++.dg/property/at-property-23.mm:16:17: error: ISO C++ forbids flexible array member 'c' [-Wpedantic]/test/gnu/gcc/gcc/gcc/testsuite/obj-c++.dg/property/at-property-23.mm:16:1: error: property can not be an array compiler exited with status 1 output is: /test/gnu/gcc/gcc/gcc/testsuite/obj-c++.dg/property/at-property-23.mm:14:1: error: property can not be an array /test/gnu/gcc/gcc/gcc/testsuite/obj-c++.dg/property/at-property-23.mm:15:16: error: expected ';' before ':' token /test/gnu/gcc/gcc/gcc/testsuite/obj-c++.dg/property/at-property-23.mm:16:17: error: ISO C++ forbids flexible array member 'c' [-Wpedantic] /test/gnu/gcc/gcc/gcc/testsuite/obj-c++.dg/property/at-property-23.mm:16:1: error: property can not be an array PASS: obj-c++.dg/property/at-property-23.mm -fgnu-runtime (test for errors, line 14) PASS: obj-c++.dg/property/at-property-23.mm -fgnu-runtime (test for errors, line 15) PASS: obj-c++.dg/property/at-property-23.mm -fgnu-runtime (test for errors, line 16) FAIL: obj-c++.dg/property/at-property-23.mm -fgnu-runtime (test for excess errors) Excess errors: /test/gnu/gcc/gcc/gcc/testsuite/obj-c++.dg/property/at-property-23.mm:16:17: error: ISO C++ forbids flexible array member 'c' [-Wpedantic]