Jakub Konka 3bb4d65b2f link-tests: move macho tests to subfolder
Handle `-e` option in MachO linker allowing the user to set a custom
entrypoint address.
2022-06-21 23:01:09 +02:00

13 lines
235 B
Objective-C

#import "Foo.h"
#import <assert.h>
int main(int argc, char *argv[])
{
@autoreleasepool {
Foo *foo = [[Foo alloc] init];
NSString *result = [foo name];
assert([result isEqualToString:@"Zig"]);
return 0;
}
}