[qfcc] Fix incorrect build error in dealloc-warn2

It was dying due to an undefined symbol rather than the warning.
This commit is contained in:
Bill Currie 2023-02-26 20:09:21 +09:00
parent a5f82004bc
commit 1293fc5d0e

View file

@ -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)