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