]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.pt/enum.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / enum.C
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/enum.C b/gcc/testsuite/g++.old-deja/g++.pt/enum.C
deleted file mode 100644 (file)
index 4fe84a4..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-// Build don't link: 
-// GROUPS passed enums
-template<class T>
-struct templ
-{
-    enum { val = 0 };
-};
-struct Foo
-{
-    enum {
-       bar = 0,
-       len = templ<int>::val
-    };
-};
-void func()
-{
-    int s = Foo::bar;  // Ensure that expansion of templ did not erase bar
-}