mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-07 22:59:56 -05:00
d2e5e6ff1a
Move them all under `Tests/ObjC` and `Tests/ObjCXX`.
13 lines
301 B
Objective-C
13 lines
301 B
Objective-C
#import <Foundation/Foundation.h>
|
|
#import "foo.h"
|
|
|
|
int main(int argc, char **argv)
|
|
{
|
|
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
|
|
Foo *theFoo = [[Foo alloc] init];
|
|
theFoo.age = [NSNumber numberWithInt:argc];
|
|
NSLog(@"%d\n",[theFoo.age intValue]);
|
|
[pool release];
|
|
return 0;
|
|
}
|