X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.ext%2Fanon3.C;fp=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.ext%2Fanon3.C;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=f4b99036629285d79bda06d93d62220f051a125f;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/g++.old-deja/g++.ext/anon3.C b/gcc/testsuite/g++.old-deja/g++.ext/anon3.C deleted file mode 100644 index f4b99036..00000000 --- a/gcc/testsuite/g++.old-deja/g++.ext/anon3.C +++ /dev/null @@ -1,36 +0,0 @@ -// Build don't link: - -// Copyright (C) 2001 Free Software Foundation, Inc. -// Contributed by Nathan Sidwell 6 Jun 2001 - -// Bug 2914. New types can be created in a static member -// initializer. These should not be injected into the member's class's -// scope. - -class DoubleSupport -{ - public: - static void toDouble(); - - static const double s_NaN; - static const double s_positiveInfinity; - static const double s_negativeInfinity; - static const double s_positiveZero; - static const double s_negativeZero; - static const unsigned long* s_NaNFirstDWORD; - static const unsigned long* s_NaNSecondDWORD; -}; - -const double DoubleSupport::s_positiveInfinity = -(__extension__ ((union { unsigned char __c[8]; double __d; }) - { __c: { 0, 0, 0, 0, 0, 0, 0xf0, 0x7f } }).__d); - -struct other -{ -}; - - -void -DoubleSupport::toDouble() -{ -}