More tests.

I really need to sort out some test automation.
This commit is contained in:
Bill Currie 2011-03-03 22:32:22 +09:00
parent ee9045c377
commit fd24524e13
3 changed files with 23 additions and 0 deletions

View file

@ -0,0 +1,7 @@
integer dead_block (integer x)
{
if (x)
return 4;
else
return 6;
}

View file

@ -0,0 +1,2 @@
@extern integer x;
integer x;

14
tools/qfcc/test/super.r Normal file
View file

@ -0,0 +1,14 @@
void __obj_exec_class (obj_module_t *msg) = #0;
@interface Foo
-init;
@end
@interface Bar : Foo
@end
@implementation Bar
-init
{
return [super init];
}