From: Fariborz Jahanian Date: Mon, 21 Jun 2010 22:21:57 +0000 (+0000) Subject: Test case for PR7431 by Nico Weber. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f28682ae41897c631905942b574dd23f0cf80219;p=clang Test case for PR7431 by Nico Weber. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@106494 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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