diff --git a/tools/qfcc/test/dealloc-warn2.r b/tools/qfcc/test/dealloc-warn2.r index 921db1566..533913da5 100644 --- a/tools/qfcc/test/dealloc-warn2.r +++ b/tools/qfcc/test/dealloc-warn2.r @@ -1,5 +1,9 @@ #pragma warn error +void __obj_exec_class (struct obj_module *msg) = #0; +id obj_msgSend_super (Super *class, SEL op, ...) = #0; +id obj_msgSend (Super *class, SEL op, ...) = #0; + @interface Object { Class isa; @@ -37,9 +41,6 @@ } @end -void __obj_exec_class (struct obj_module *msg) = #0; -id obj_msgSend_super (Super *class, SEL op, ...) = #0; - int main () { return 1; // test fails if compile succeeds (with -Werror)