summaryrefslogtreecommitdiff
path: root/gcc/testsuite/objc.dg/call-super-3.m
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/objc.dg/call-super-3.m')
-rw-r--r--gcc/testsuite/objc.dg/call-super-3.m5
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/testsuite/objc.dg/call-super-3.m b/gcc/testsuite/objc.dg/call-super-3.m
index 0b950294b8f..20c220edb38 100644
--- a/gcc/testsuite/objc.dg/call-super-3.m
+++ b/gcc/testsuite/objc.dg/call-super-3.m
@@ -5,12 +5,12 @@
/* { dg-do run } */
/* { dg-xfail-run-if "Needs OBJC2 ABI" { *-*-darwin* && { lp64 && { ! objc2 } } } { "-fnext-runtime" } { "" } } */
-#include "../objc-obj-c++-shared/Object1.h"
+#include "../objc-obj-c++-shared/TestsuiteObject.m"
extern void abort(void);
#define CHECK_IF(expr) if(!(expr)) abort()
-@interface Base: Object
+@interface Base: TestsuiteObject
+ (int) class_func1;
- (int) instance_func1;
@end
@@ -54,4 +54,3 @@ int main(void) {
return 0;
}
-#include "../objc-obj-c++-shared/Object1-implementation.h"