1*f4a2713aSLionel Sambuc // RUN: %clang_cc1 %s -emit-llvm -g -o - | grep DW_TAG_compile_unit | count 1
2*f4a2713aSLionel Sambuc // PR664: ensure that line #'s are emitted for declarations
3*f4a2713aSLionel Sambuc
4*f4a2713aSLionel Sambuc
test(short br_data_0,short br_data_1,short br_data_2,short br_data_3,short br_data_4,short br_data_5,short br_data_6,short br_data_7)5*f4a2713aSLionel Sambuc short test(short br_data_0,
6*f4a2713aSLionel Sambuc short br_data_1,
7*f4a2713aSLionel Sambuc short br_data_2,
8*f4a2713aSLionel Sambuc short br_data_3,
9*f4a2713aSLionel Sambuc short br_data_4,
10*f4a2713aSLionel Sambuc short br_data_5,
11*f4a2713aSLionel Sambuc short br_data_6,
12*f4a2713aSLionel Sambuc short br_data_7) {
13*f4a2713aSLionel Sambuc
14*f4a2713aSLionel Sambuc short sm07 = br_data_0 + br_data_7;
15*f4a2713aSLionel Sambuc short sm16 = br_data_1 + br_data_6;
16*f4a2713aSLionel Sambuc short sm25 = br_data_2 + br_data_5;
17*f4a2713aSLionel Sambuc short sm34 = br_data_3 + br_data_4;
18*f4a2713aSLionel Sambuc short s0734 = sm07 + sm34;
19*f4a2713aSLionel Sambuc short s1625 = sm16 + sm25;
20*f4a2713aSLionel Sambuc
21*f4a2713aSLionel Sambuc return s0734 + s1625;
22*f4a2713aSLionel Sambuc }
23*f4a2713aSLionel Sambuc
24