]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.pt/ref3.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / ref3.C
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/ref3.C b/gcc/testsuite/g++.old-deja/g++.pt/ref3.C
deleted file mode 100644 (file)
index 27f7cd2..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-// Origin: John Wilkinson <jfw@sgi.com>
-
-template <class T, int& Size> 
-struct Base {
-    Base() : obj(Size) {}
-    T obj;
-};
-
-int globalInt = 5;
-
-struct A {
-    A(int arg) : ia(arg) {}
-    int ia;
-};
-
-int main()
-{
-  Base<A, globalInt> ob;
-  if (ob.obj.ia != 5)
-    return 1;
-}