diff options
Diffstat (limited to 'tests/AutoreleasePool.m')
| -rw-r--r-- | tests/AutoreleasePool.m | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/AutoreleasePool.m b/tests/AutoreleasePool.m new file mode 100644 index 0000000..f0b3599 --- /dev/null +++ b/tests/AutoreleasePool.m @@ -0,0 +1,15 @@ +#include <Paradox/Core.h> +#include <stdio.h> + +int main(void) { + printf("PXObject autorelease test\n"); + + @autoreleasepool { + PXObject *object = [PXObject new]; + printf("created object in autorelease pool\n"); + printf("attempting healthCheck\n"); + [object healthCheck]; + } + printf("autorelease pool end\n"); + printf("test complete\n"); +} |
