]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.law/template1.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.law / template1.C
diff --git a/gcc/testsuite/g++.old-deja/g++.law/template1.C b/gcc/testsuite/g++.old-deja/g++.law/template1.C
deleted file mode 100644 (file)
index bde1537..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-// Build don't link: 
-// GROUPS passed templates
-
-class String {
-        char s[100];
-};
-
-template <class Element>
-class Art {
-public:
-        Element *data;
-        Art() { data=new Element[100]; }
-};
-
-template <class Key,class Value>
-class Assoc {
-public:
-        struct KeyValue {
-                Key key;
-                Value value;
-                int filled;
-        };
-
-        Art<KeyValue> data;
-        int fill;
-};
-
-int main() {
-        Assoc<String,String> table;
-}