1 /* Contributed by Nicola Pero <nicola.pero@meta-innovation.com>, December 2010. */
2 /* { dg-do compile } */
4 /* This test tests you can not declare a class extension after the class @implementation. */
14 @implementation MyObject
17 @interface MyObject () /* { dg-error "class extension for class .MyObject. declared after its ..implementation." } */