]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.brendan/warnings7.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.brendan / warnings7.C
diff --git a/gcc/testsuite/g++.old-deja/g++.brendan/warnings7.C b/gcc/testsuite/g++.old-deja/g++.brendan/warnings7.C
deleted file mode 100644 (file)
index 24e7a2c..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-// Build don't link: 
-// Special g++ Options: -O2 -Wall
-// GROUPS passed warnings
-template<class T>
-class X {
-public:
-    void kill(unsigned i)
-       { vec[i].~T(); }
-    T *vec;
-};
-
-class Y { };
-
-void
-x()
-{
-    X<int> x;
-    x.kill(0);
-    X<Y> y;
-    y.kill(0);
-};