diff options
| author | Arslaan Pathan <[email protected]> | 2026-10-02 22:24:55 +1300 |
|---|---|---|
| committer | Arslaan Pathan <[email protected]> | 2026-10-02 22:24:55 +1300 |
| commit | ba9deab178f68f905cb63d50de2c64641362607d (patch) | |
| tree | 4fc9c3a06524a1507a2262f6b07529385a78e384 /tests/AutoreleasePool.m | |
| parent | 6159fd844f6807d59e04dc8805ee417d5b13bf32 (diff) | |
| download | Paradox-ba9deab178f68f905cb63d50de2c64641362607d.tar.xz Paradox-ba9deab178f68f905cb63d50de2c64641362607d.zip | |
autorelease and ARC, also switch to libobjc2 ABI instead of legacy objc ABI
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"); +} |
