diff options
Diffstat (limited to 'gcc/testsuite/obj-c++.dg/stubify-2.mm')
-rw-r--r-- | gcc/testsuite/obj-c++.dg/stubify-2.mm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/testsuite/obj-c++.dg/stubify-2.mm b/gcc/testsuite/obj-c++.dg/stubify-2.mm index 9968672ed34..a9f66cac5d2 100644 --- a/gcc/testsuite/obj-c++.dg/stubify-2.mm +++ b/gcc/testsuite/obj-c++.dg/stubify-2.mm @@ -16,9 +16,9 @@ extern int bogonic (int, int, int) ; - (Document *) close; @end @implementation Document -- (Document *) class { } -- (Document *) close { } -- (Document *) window { } +- (Document *) class { return (Document *)0; } +- (Document *) close { return (Document *)0; } +- (Document *) window { return (Document *)0; } - (void)willEndCloseSheet:(void *)sheet returnCode:(int)returnCode contextInfo:(void *)contextInfo { [[self window] close]; ((void (*)(id, char *, int))objc_msgSend)([self class], (char *)contextInfo, 1); |