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