[TableGen] Fix validateOperandClass for non Phyical Reg (#118146)
[llvm-project.git] / clang / test / CodeGenObjC / category-class-empty.m
blobd89a3e7eac421d7735b86b64d38a73b4b373bb36
1 // RUN: %clang_cc1 -triple i386-apple-darwin9 -O0 -disable-llvm-passes -emit-llvm -o - %s | FileCheck %s
2 // PR7431
4 // CHECK-NOT: @"OBJC_LABEL_CATEGORY_$" = private global [1 x i8*] [i8* bitcast (%struct._category_t* @"_OBJC_$_CATEGORY_A_$_foo"
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 {
15 @end