diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2010-06-21 22:21:57 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2010-06-21 22:21:57 +0000 |
commit | f28682ae41897c631905942b574dd23f0cf80219 (patch) | |
tree | 85f8d05c7340ce4b7f9b3dcb39896ee968b577b5 | |
parent | b9c5b3ddde5a327cd31f3aacbfc7d1e491f99fcb (diff) |
Test case for PR7431 by Nico Weber.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@106494 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/CodeGenObjC/category-class.m | 13 |
1 files changed, 13 insertions, 0 deletions
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 |