> On 10 Aug 2016, at 19:53, Sandra Loosemore <san...@codesourcery.com> wrote: > > On 08/10/2016 03:11 AM, Martin Liška wrote: >> Hi. >> >> Following patch clarifies usage of ctor and dtor attributes for Objective C. >> Patch survives (on x86_64-linux-gnu): >> >> make -k check-objc RUNTESTFLAGS="execute.exp" >> >> Ready for trunk? > > The documentation fix looks fine, but probably an objc maintainer needs to > confirm that it's not just an accident that the test case works.
Appologies; traveling this week so won’t be able to give this proper attention until I get back to the office (Mike might have something to add however). I don’t believe it’s an accident that the test-case works. Objective-C / Objective-C++ are supposed to be supersets of the parent language, and the test case is pure C compiled with an Objective-C FE (so the underlying C should ‘just work’). What I don’t expect to be supported is to try to apply that attribute to any Objective-C entity (but I would like to qualify that statement with some double-checking once i’m back in the office). thanks, Iain