mirror of
https://github.com/ziglang/zig.git
synced 2025-12-11 08:43:09 +00:00
13 lines
235 B
Objective-C
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;
|
|
}
|
|
}
|