[llvm-commits] [llvm-gcc-4.2] r65575 - /llvm-gcc-4.2/trunk/gcc/testsuite/g++.old-deja/g++.pt/const2.C
Dale Johannesen
dalej at apple.com
Thu Feb 26 13:40:31 PST 2009
Author: johannes
Date: Thu Feb 26 15:40:31 2009
New Revision: 65575
URL: http://llvm.org/viewvc/llvm-project?rev=65575&view=rev
Log:
Revert 50419. This test wasn't needed with some
earlier versions of Darwin linkers, but now it is again.
Modified:
llvm-gcc-4.2/trunk/gcc/testsuite/g++.old-deja/g++.pt/const2.C
Modified: llvm-gcc-4.2/trunk/gcc/testsuite/g++.old-deja/g++.pt/const2.C
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/testsuite/g%2B%2B.old-deja/g%2B%2B.pt/const2.C?rev=65575&r1=65574&r2=65575&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/testsuite/g++.old-deja/g++.pt/const2.C (original)
+++ llvm-gcc-4.2/trunk/gcc/testsuite/g++.old-deja/g++.pt/const2.C Thu Feb 26 15:40:31 2009
@@ -1,7 +1,8 @@
// { dg-do link }
// This test should get a linker error for the reference to A<int>::i.
// { dg-error "i" "" { target *-*-* } 0 }
-// LLVM LOCAL remove extra check
+// APPLE LOCAL 5317196
+// { dg-error ".*" "" { target *-*-darwin* } 0 }
template <class T> struct B { static const int i = 3; };
template <class T> struct A { static const int i = B<T>::i; };
More information about the llvm-commits
mailing list