diff options
Diffstat (limited to 'gcc-4.8.1/gcc/testsuite/obj-c++.dg/invalid-method-2.mm')
-rw-r--r-- | gcc-4.8.1/gcc/testsuite/obj-c++.dg/invalid-method-2.mm | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/gcc-4.8.1/gcc/testsuite/obj-c++.dg/invalid-method-2.mm b/gcc-4.8.1/gcc/testsuite/obj-c++.dg/invalid-method-2.mm deleted file mode 100644 index 48f03599c..000000000 --- a/gcc-4.8.1/gcc/testsuite/obj-c++.dg/invalid-method-2.mm +++ /dev/null @@ -1,18 +0,0 @@ -/* { dg-do compile } */ - -/* Test that using an invalid type in a method declaration produces a - friendly error without a compiler crash. */ - -@interface MyClass -@end - -@implementation MyClass -- (x) method /* { dg-error "expected" } */ -{ - return 0; -} -- (id) method2: (x)argument /* { dg-error "expected" } */ -{ - return 0; -} -@end |