X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.robertl%2Feb11.C;fp=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.robertl%2Feb11.C;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=307aa6a95687036a8517c2b2ccc098b2e1e7b0f1;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/g++.old-deja/g++.robertl/eb11.C b/gcc/testsuite/g++.old-deja/g++.robertl/eb11.C deleted file mode 100644 index 307aa6a9..00000000 --- a/gcc/testsuite/g++.old-deja/g++.robertl/eb11.C +++ /dev/null @@ -1,29 +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, - - // NB: if the next line is changed to - // n = (T1::n > T2::n) ? T1::n : T2::n - // the problem goes away. - - n = meta_max::max - }; -}; - -int z = Y::a;