Debian Codegraph @

clang/test/CodeGenObjC/category-class-empty.m

raw
1 // RUN: %clang_cc1 -triple i386-apple-darwin9 -O0 -disable-llvm-passes -emit-llvm -o - %s | FileCheck %s
2 // PR7431
3
4 // CHECK-NOT: @"OBJC_LABEL_CATEGORY_$" = private global [1 x i8*] [i8* bitcast (%struct._category_t* @"_OBJC_$_CATEGORY_A_$_foo"
5
6 @interface A
7 @end
8 __attribute__((objc_direct_members))
9 @interface A(foo)
10 - (void)foo_myStuff;
11 @end
12 @implementation A(foo)
13 - (void)foo_myStuff {
14 }
15 @end
16