2015-10-08 12:24:12 +08:00
|
|
|
// RUN: %clang_cc1 -o - -emit-llvm -debug-info-kind=limited %s | FileCheck %s
|
2014-08-12 12:42:23 +08:00
|
|
|
|
|
|
|
// 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, ...
|
|
|
|
{
|
2015-04-30 00:40:08 +08:00
|
|
|
// CHECK: !DISubroutineType(types: ![[NUM:[0-9]+]])
|
2015-03-04 01:25:55 +08:00
|
|
|
// CHECK: ![[NUM]] = {{!{null, ![^,]*, ![^,]*, ![^,]*, null}}}
|
2014-08-12 12:42:23 +08:00
|
|
|
}
|
|
|
|
@end
|