Douglas Gregor | de049cd | 2010-06-22 02:17:07 +0000 | [diff] [blame^] | 1 | // RUN: %clang -c %s -o %t.o && libtool -static -o libcodegentest.a %t.o && %clang -bundle -o codegentestbundle -L. -lcodegentest -Wl,-ObjC && nm codegentestbundle | grep -F '[A(foo) foo_myStuff]' |
Fariborz Jahanian | 2990e3a | 2010-06-21 22:21:57 +0000 | [diff] [blame] | 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 |