aboutsummaryrefslogtreecommitdiff
path: root/tests/AutoreleasePool.m
blob: f0b35997c7dc92801f3b659d4449e3ee17ca26ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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");
}