]> git.saurik.com Git - apple/objc4.git/blob - test/nilAPIArgs.m
objc4-680.tar.gz
[apple/objc4.git] / test / nilAPIArgs.m
1 // TEST_CONFIG
2
3 #include "test.h"
4
5 #import <objc/runtime.h>
6
7 int main() {
8 // ensure various bits of API don't crash when tossed nil parameters
9 class_conformsToProtocol(nil, nil);
10 method_setImplementation(nil, NULL);
11
12 succeed(__FILE__);
13 }