aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorArslaan Pathan <[email protected]>2026-10-02 22:24:55 +1300
committerArslaan Pathan <[email protected]>2026-10-02 22:24:55 +1300
commitba9deab178f68f905cb63d50de2c64641362607d (patch)
tree4fc9c3a06524a1507a2262f6b07529385a78e384 /tests
parent6159fd844f6807d59e04dc8805ee417d5b13bf32 (diff)
downloadParadox-ba9deab178f68f905cb63d50de2c64641362607d.tar.xz
Paradox-ba9deab178f68f905cb63d50de2c64641362607d.zip
autorelease and ARC, also switch to libobjc2 ABI instead of legacy objc ABI
Diffstat (limited to 'tests')
-rw-r--r--tests/AutoreleasePool.m15
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");
+}