[llvm-commits] [llvm] r96474 - in /llvm/trunk/test: FrontendC++/2010-02-08-NamespaceVar.cpp FrontendC/2003-12-14-ExternInlineSupport.c

Eric Christopher echristo at apple.com
Wed Feb 17 00:53:27 PST 2010


Author: echristo
Date: Wed Feb 17 02:53:27 2010
New Revision: 96474

URL: http://llvm.org/viewvc/llvm-project?rev=96474&view=rev
Log:
Revert:
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.

Removed:
    llvm/trunk/test/FrontendC++/2010-02-08-NamespaceVar.cpp
Modified:
    llvm/trunk/test/FrontendC/2003-12-14-ExternInlineSupport.c

Removed: llvm/trunk/test/FrontendC++/2010-02-08-NamespaceVar.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/FrontendC%2B%2B/2010-02-08-NamespaceVar.cpp?rev=96473&view=auto

==============================================================================
--- llvm/trunk/test/FrontendC++/2010-02-08-NamespaceVar.cpp (original)
+++ llvm/trunk/test/FrontendC++/2010-02-08-NamespaceVar.cpp (removed)
@@ -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;
-}

Modified: llvm/trunk/test/FrontendC/2003-12-14-ExternInlineSupport.c
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/FrontendC/2003-12-14-ExternInlineSupport.c?rev=96474&r1=96473&r2=96474&view=diff

==============================================================================
--- llvm/trunk/test/FrontendC/2003-12-14-ExternInlineSupport.c (original)
+++ llvm/trunk/test/FrontendC/2003-12-14-ExternInlineSupport.c Wed Feb 17 02:53:27 2010
@@ -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() {}





More information about the llvm-commits mailing list