17 lines · plain
1// RUN: %clang_cc1 -o - -emit-llvm -debug-info-kind=limited %s | FileCheck %s2 3// This test verifies that variadic ObjC methods get the4// DW_TAG_unspecified_parameter marker.5 6@interface Foo7- (void) Bar: (int) n, ...;8@end9 10@implementation Foo11- (void) Bar: (int) n, ...12{13 // CHECK: !DISubroutineType(types: ![[NUM:[0-9]+]])14 // CHECK: ![[NUM]] = {{!{null, ![^,]*, ![^,]*, ![^,]*, null}}}15}16@end17