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
+++ /dev/null
-// 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;
-}
-// 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() {}