1// RUN: %clang_cc1 -triple i386-apple-darwin9 -fobjc-runtime=macosx-fragile-10.5  -emit-llvm -o - %s | FileCheck %s
2// PR7431
3
4// CHECK: module asm "\09.lazy_reference .objc_class_name_A"
5// CHECK: module asm "\09.objc_category_name_A_foo=0"
6// CHECK: module asm "\09.globl .objc_category_name_A_foo"
7
8@interface A
9@end
10@interface A(foo)
11- (void)foo_myStuff;
12@end
13@implementation A(foo)
14- (void)foo_myStuff {
15}
16@end
17
18