From: Duncan P. N. Exon Smith Date: Tue, 3 Mar 2015 22:18:24 +0000 (+0000) Subject: DebugInfo: Remove useless test X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=02dc231012b10db1a83f5bf4db2dc4d87f2a1f8e;p=clang 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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@231152 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGen/2005-12-04-DeclarationLineNumbers.c b/test/CodeGen/2005-12-04-DeclarationLineNumbers.c deleted file mode 100644 index 82ea1f934b..0000000000 --- a/test/CodeGen/2005-12-04-DeclarationLineNumbers.c +++ /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; -} -