r95605 | dpatel | 2010-02-08 15:27:46 -0800 (Mon, 08 Feb 2010) | 2 lines

test case for r95604.

Which was the testcase for the patch reverted from llvm-gcc.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96474 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Eric Christopher 2010-02-17 08:53:27 +00:00
parent 84aa60b522
commit a8572bbd39
2 changed files with 1 additions and 17 deletions

View File

@ -1,16 +0,0 @@
// RUN: %llvmgxx -S %s -o - | grep cX
namespace C {
int c = 1;
namespace {
int cX = 6;
void marker2() {
cX;
}
}
}
int main() {
C::marker2();
return 0;
}

View File

@ -1,3 +1,3 @@
// RUN: %llvmgcc -Os -xc %s -c -o - | llvm-dis | not grep dead_function
// RUN: %llvmgcc -xc %s -c -o - | llvm-dis | not grep dead_function
extern __inline__ void dead_function() {}