/* TEST_BUILD_OUTPUT .*sel.m:\d+:\d+: warning: null passed to a callee that requires a non-null argument \[-Wnonnull\](\n.* note: expanded from macro 'testassert')? END */ #include "test.h" #include #include #include int main() { // Make sure @selector values are correctly fixed up testassert(@selector(foo) == sel_registerName("foo")); // sel_getName recognizes the zero SEL testassert(0 == strcmp("", sel_getName(0))); succeed(__FILE__); }