blob: 7f9ad276c8188f03a3dc2bf2ddca374d4ab81a29 [file] [log] [blame]
// RUN: %clang_cc1 -o - -emit-llvm -g %s | FileCheck %s
// This test verifies that variadic ObjC methods get the
// DW_TAG_unspecified_parameter marker.
@interface Foo
- (void) Bar: (int) n, ...;
@end
@implementation Foo
- (void) Bar: (int) n, ...
{
// CHECK: !MDSubroutineType(types: ![[NUM:[0-9]+]])
// CHECK: ![[NUM]] = {{!{null, ![^,]*, ![^,]*, ![^,]*, null}}}
}
@end