diff options
Diffstat (limited to 'gcc-4.8.1/gcc/testsuite/obj-c++.dg/class-extension-4.mm')
-rw-r--r-- | gcc-4.8.1/gcc/testsuite/obj-c++.dg/class-extension-4.mm | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/gcc-4.8.1/gcc/testsuite/obj-c++.dg/class-extension-4.mm b/gcc-4.8.1/gcc/testsuite/obj-c++.dg/class-extension-4.mm deleted file mode 100644 index 9e19aa70d..000000000 --- a/gcc-4.8.1/gcc/testsuite/obj-c++.dg/class-extension-4.mm +++ /dev/null @@ -1,19 +0,0 @@ -/* Contributed by Nicola Pero <nicola.pero@meta-innovation.com>, December 2010. */ -/* { dg-do compile } */ - -/* This test tests you can not declare a class extension after the class @implementation. */ - -#include <objc/objc.h> - -@interface MyObject -{ - Class isa; -} -@end - -@implementation MyObject -@end - -@interface MyObject () /* { dg-error "class extension for class .MyObject. declared after its ..implementation." } */ -- (void) test; -@end |