]> granicus.if.org Git - clang/commitdiff
DebugInfo: Remove useless test
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Tue, 3 Mar 2015 22:18:24 +0000 (22:18 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Tue, 3 Mar 2015 22:18:24 +0000 (22:18 +0000)
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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@231152 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/2005-12-04-DeclarationLineNumbers.c [deleted file]

diff --git a/test/CodeGen/2005-12-04-DeclarationLineNumbers.c b/test/CodeGen/2005-12-04-DeclarationLineNumbers.c
deleted file mode 100644 (file)
index 82ea1f9..0000000
+++ /dev/null
@@ -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;
-}
-