]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.dg/template/sizeof1.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.dg / template / sizeof1.C
diff --git a/gcc/testsuite/g++.dg/template/sizeof1.C b/gcc/testsuite/g++.dg/template/sizeof1.C
deleted file mode 100644 (file)
index 76d1cf4..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-// { dg-do compile }
-
-template<int size>
-struct Foobar {
-    // Contents irrelevant
-};
-
-template <typename A>
-struct Wrapper {
-    // Contents irrelevant
-};
-
-template <typename A>
-Foobar<sizeof(Wrapper<A>)> *
-compiler_bug (A)
-{
-    return 0;
-}
-
-int main()
-{
-    compiler_bug(1);
-}