Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / CodeGenObjC / category-class.m
blob92fd36cbe40668fffb2776f38d78186719d0950d
1 // RUN: %clang_cc1 -triple i386-apple-darwin9 -fobjc-runtime=macosx-fragile-10.5  -emit-llvm -o - %s | FileCheck %s
2 // PR7431
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"
8 @interface A
9 @end
10 @interface A(foo)
11 - (void)foo_myStuff;
12 @end
13 @implementation A(foo)
14 - (void)foo_myStuff {
16 @end