]> git.saurik.com Git - apple/objc4.git/blobdiff - test/definitions.m
objc4-437.tar.gz
[apple/objc4.git] / test / definitions.m
diff --git a/test/definitions.m b/test/definitions.m
new file mode 100644 (file)
index 0000000..5519933
--- /dev/null
@@ -0,0 +1,23 @@
+// DO NOT include anything else here
+#include <objc/objc.h>
+// DO NOT include anything else here
+Class c = Nil;
+SEL s;
+IMP i;
+id o = nil;
+BOOL b = YES;
+BOOL b2 = NO;
+__strong void *p;
+
+
+#include "test.h"
+
+int main()
+{
+    testassert(YES);
+    testassert(!NO);
+    testassert(!nil);
+    testassert(!Nil);
+
+    succeed(__FILE__);
+}