From: Mark Mitchell Date: Fri, 3 Sep 1999 00:24:24 +0000 (+0000) Subject: Readd file X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6aabeed2cb6997c61b6783a6e00054429e63bef8;p=platform%2Fupstream%2Fgcc.git Readd file From-SVN: r29072 --- diff --git a/gcc/testsuite/g++.old-deja/g++.other/cond2.C b/gcc/testsuite/g++.old-deja/g++.other/cond2.C index c025beb..a83273f 100644 --- a/gcc/testsuite/g++.old-deja/g++.other/cond2.C +++ b/gcc/testsuite/g++.old-deja/g++.other/cond2.C @@ -1,26 +1,11 @@ -// Build don't run: -// Origin: Mark Mitchell +// Build don't link: +// Origin: Loring Holden -template -void f (T&) ; - -template <> -void f (void (&)()) -{ -} - -void g () -{ -} - -void h () -{ -} - -bool b; - -int main () -{ - f (b ? g : h); -} +class Wpt {}; +class RAYhit { + protected: + Wpt _nearpt; + public: + Wpt surf () const { return true ? Wpt(): _nearpt; } +};