1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00
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.

llvm-svn: 96474
This commit is contained in:
Eric Christopher 2010-02-17 08:53:27 +00:00
parent b8c69426ef
commit 018a0e9907
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() {}