]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.pt/using2.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / using2.C
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/using2.C b/gcc/testsuite/g++.old-deja/g++.pt/using2.C
deleted file mode 100644 (file)
index 5d47b75..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-// Build don't link:
-// 
-// Copyright (C) 2001 Free Software Foundation, Inc.
-// Contributed by Nathan Sidwell 22 May 2001 <nathan@codesourcery.com>
-
-// Bug 2184. Using decls in templates weren't doing the right thing.
-
-namespace N {
-  template <class T>
-  class vector {};
-}
-
-void g(const int&) {
-  using N::vector;
-  typedef vector<int> V;
-}
-
-template <class J>
-void f(const J&) {
-  using N::vector;
-  typedef vector<int> V;
-}
-
-int main() {
-  f(0);
-}