/*
rdar://8553305

TEST_CONFIG OS=iphoneos
TEST_CRASHES

TEST_BUILD
    $C{COMPILE} $DIR/evil-category-1.m -dynamiclib -o libevil.dylib
    $C{COMPILE} $DIR/evil-main.m -x none libevil.dylib -o evil-category-1.exe
END

TEST_RUN_OUTPUT
objc\[\d+\]: bad method implementation \(0x[0-9a-f]+ at 0x[0-9a-f]+\)
objc\[\d+\]: HALTED
END
*/

#define EVIL_INSTANCE_METHOD 1
#define EVIL_CLASS_METHOD 0

#define OMIT_CAT 0
#define OMIT_NL_CAT 0

#include "evil-category-def.m"
