DebugInfo: Remove useless test

This test doesn't provide any value (it just checks that the frontend
produces exactly one compile unit), and it certainly isn't doing what
the comment says.  Noticed via IRC review of my update to it in r231083.

llvm-svn: 231152
This commit is contained in:
Duncan P. N. Exon Smith 2015-03-03 22:18:24 +00:00
parent 987666d57c
commit bcf02b44de
1 changed files with 0 additions and 24 deletions

View File

@ -1,24 +0,0 @@
// RUN: %clang_cc1 %s -emit-llvm -g -o - | FileCheck %s
// CHECK: !MDCompileUnit(
// CHECK-NOT: !MDCompileUnit(
// PR664: ensure that line #'s are emitted for declarations
short 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) {
short sm07 = br_data_0 + br_data_7;
short sm16 = br_data_1 + br_data_6;
short sm25 = br_data_2 + br_data_5;
short sm34 = br_data_3 + br_data_4;
short s0734 = sm07 + sm34;
short s1625 = sm16 + sm25;
return s0734 + s1625;
}