[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 e07f25e10f
commit b103709bfd
1 changed files with 4 additions and 3 deletions

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)