llvm-project/clang/test/CodeGenObjC/debug-info-impl.m
Fangrui Song c5de4dd1ea [test] %clang_cc1 -emit-llvm: remove redundant -S
And replace -emit-llvm -o - with -emit-llvm-only
2024-05-04 17:00:29 -07:00

18 lines
376 B
Objective-C

// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -debug-info-kind=limited -emit-llvm %s -o - | FileCheck %s
@interface NSObject {
struct objc_object *isa;
}
@end
@interface Shape : NSObject
@end
// CHECK: !DICompositeType(tag: DW_TAG_structure_type, name: "Circle"
// CHECK-SAME: line: [[@LINE+1]],
@interface Circle : Shape
@end
@implementation Circle
@end