blob: e6317fc2de0efcf88b97d13df2bda9f81bd47fca [file] [log] [blame]
Devang Patel468e8fb2010-08-26 22:54:33 +00001// RUN: %clang -g -S %s -o - | FileCheck %s
Chris Lattnerfc8f0e12011-04-15 05:22:18 +00002// Test to check presence of debug info for byval parameter.
Devang Patel468e8fb2010-08-26 22:54:33 +00003// Radar 8350436.
4class DAG {
5public:
6 int i;
7 int j;
8};
9
10class EVT {
11public:
12 int a;
13 int b;
14 int c;
15};
16
17class VAL {
18public:
19 int x;
20 int y;
21};
22void foo(EVT e);
23EVT bar();
24
25void get(int *i, unsigned dl, VAL v, VAL *p, unsigned n, EVT missing_arg) {
Jyotsna Vermabf279512013-04-01 15:59:25 +000026//CHECK: .{{asciz|string}} "missing_arg"
Devang Patel468e8fb2010-08-26 22:54:33 +000027 EVT e = bar();
28 if (dl == n)
29 foo(missing_arg);
30}
31