Fariborz Jahanian | f28682a | 2010-06-21 22:21:57 +0000 | [diff] [blame^] | 1 | // 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]' |
2 | // XFAIL: * | ||||
3 | // XTARGET: darwin9 | ||||
4 | // PR7431 | ||||
5 | @interface A | ||||
6 | @end | ||||
7 | @interface A(foo) | ||||
8 | - (void)foo_myStuff; | ||||
9 | @end | ||||
10 | @implementation A(foo) | ||||
11 | - (void)foo_myStuff { | ||||
12 | } | ||||
13 | @end |