diff options
Diffstat (limited to 'meson/test cases/objc/2 nsstring/stringprog.m')
-rw-r--r-- | meson/test cases/objc/2 nsstring/stringprog.m | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/meson/test cases/objc/2 nsstring/stringprog.m b/meson/test cases/objc/2 nsstring/stringprog.m new file mode 100644 index 000000000..faef4dd62 --- /dev/null +++ b/meson/test cases/objc/2 nsstring/stringprog.m @@ -0,0 +1,10 @@ +#import<Foundation/NSString.h> + +int main(void) { + int result; + NSString *str = [NSString new]; + result = [str length]; + [str release]; + return result; +} + |