From f28682ae41897c631905942b574dd23f0cf80219 Mon Sep 17 00:00:00 2001 From: Fariborz Jahanian Date: Mon, 21 Jun 2010 22:21:57 +0000 Subject: [PATCH] Test case for PR7431 by Nico Weber. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@106494 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGenObjC/category-class.m | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 test/CodeGenObjC/category-class.m diff --git a/test/CodeGenObjC/category-class.m b/test/CodeGenObjC/category-class.m new file mode 100644 index 0000000000..53a2acb57b --- /dev/null +++ b/test/CodeGenObjC/category-class.m @@ -0,0 +1,13 @@ +// RUN: %clang -c %s -o %t && libtool -static -o libcodegentest.a %t && %clang -bundle -o codegentestbundle -L. -lcodegentest -Wl,-ObjC && nm codegentestbundle | grep -F '[A(foo) foo_myStuff]' +// XFAIL: * +// XTARGET: darwin9 +// PR7431 +@interface A +@end +@interface A(foo) +- (void)foo_myStuff; +@end +@implementation A(foo) +- (void)foo_myStuff { +} +@end -- 2.50.1