test case for r95604.

llvm-svn: 95605
This commit is contained in:
Devang Patel 2010-02-08 23:27:46 +00:00
parent a570d05228
commit 557e4248cb
2 changed files with 17 additions and 1 deletions

View File

@ -0,0 +1,16 @@
// 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 -xc %s -c -o - | llvm-dis | not grep dead_function
// RUN: %llvmgcc -Os -xc %s -c -o - | llvm-dis | not grep dead_function
extern __inline__ void dead_function() {}