diff options
| author | ruki <[email protected]> | 2020-04-04 13:01:11 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-04-04 13:04:06 +0800 |
| commit | dadee422f340ce6e96a7adbd64aa3941a2d31707 (patch) | |
| tree | 899503fb7a2625eaaf12945259d809c3af684735 /tests/projects/objc/framework/src/main.m | |
| parent | cc80eac1312bc54f4d6564f2a517a86aeccf5e8d (diff) | |
improve objc/objc++ build rules
Diffstat (limited to 'tests/projects/objc/framework/src/main.m')
| -rw-r--r-- | tests/projects/objc/framework/src/main.m | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/projects/objc/framework/src/main.m b/tests/projects/objc/framework/src/main.m new file mode 100644 index 000000000..e3fa72dbf --- /dev/null +++ b/tests/projects/objc/framework/src/main.m @@ -0,0 +1,11 @@ +#import <Foundation/Foundation.h> +#import <test/test.h> + +int main(int argc, char** argv) +{ + @autoreleasepool + { + NSLog(@"add(1, 2): %d", add(1, 2)); + } + return 0; +} |
