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