X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.robertl%2Feb20.C;fp=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.robertl%2Feb20.C;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=08c76d0f97e3ba2eceffd0c4734329fedd865d78;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/g++.old-deja/g++.robertl/eb20.C b/gcc/testsuite/g++.old-deja/g++.robertl/eb20.C deleted file mode 100644 index 08c76d0f..00000000 --- a/gcc/testsuite/g++.old-deja/g++.robertl/eb20.C +++ /dev/null @@ -1,33 +0,0 @@ -// Error: ICE on 2.7.2.3 and EGCS 1.0.0. -// Build don't link: - -template -struct meta_max { - enum { max = (N1 > N2) ? N1 : N2 }; -}; - -struct X { - enum { - a = 0, - n = 0 - }; -}; - -template -struct Y { - - enum { - a = T1::a + T2::a + T3::a, - n = meta_max::max, T3::n>::max - }; -}; - -template -struct Z { - enum { - a = T::a, - n = T::n - }; -}; - -Z > z;