From 9c8f390995ace83ebee758ba42fc7f77da2129e2 Mon Sep 17 00:00:00 2001 From: Arslaan Pathan Date: Sat, 3 Oct 2026 23:04:55 +1300 Subject: Selector test and tweak Introspection (yay it works!) --- tests/Introspection.m | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'tests/Introspection.m') diff --git a/tests/Introspection.m b/tests/Introspection.m index 2bdc6f9..dd6a061 100644 --- a/tests/Introspection.m +++ b/tests/Introspection.m @@ -8,7 +8,7 @@ @implementation MyClass - (void)sayHello { - printf("Hello!"); + printf("Hello!\n"); } @end @@ -23,4 +23,7 @@ int main(void) { printf("isMemberOfClass:PXObject = %s\n", [instance isMemberOfClass:[PXObject class]] ? "YES" : "NO"); printf("isKindOfClass:MyClass = %s\n", [instance isKindOfClass:[MyClass class]] ? "YES" : "NO"); printf("isKindOfClass:PXObject = %s\n", [instance isKindOfClass:[PXObject class]] ? "YES" : "NO"); + + [instance release]; + printf("test complete\n"); } -- cgit v1.2.3