On 01/14/2016 07:00 PM, Martin Sebor wrote:
Among the bugs fixed by the flexible array patch (r231665) was
c++/68490. I forgot to include a test for this bug in the commit
so I'm adding it via the attached patch.
(Please let me know if adding new passing tests is considered
trivial and I don't need to request approval for such things.)
Yes, go ahead and add tests without waiting for approval.
+// { dg-options "-Wpedantic -Wno-error=pedantic" }
You shouldn't need the -Wno-error=pedantic, though.
Jason