summaryrefslogtreecommitdiff
path: root/clang/test/CodeGenObjC/category-class.m
blob: 5a82c1425504ec466333e2d78dc89988cd6dc670 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// RUN: %clang_cc1 -triple i386-apple-darwin9 -fobjc-fragile-abi  -emit-llvm -o - %s | FileCheck %s
// PR7431

// CHECK: module asm "\09.lazy_reference .objc_class_name_A"
// CHECK: module asm "\09.objc_category_name_A_foo=0"
// CHECK: module asm "\09.globl .objc_category_name_A_foo"

@interface A
@end
@interface A(foo)
- (void)foo_myStuff;
@end
@implementation A(foo)
- (void)foo_myStuff {
}
@end