Readd file

From-SVN: r29072
This commit is contained in:
Mark Mitchell 1999-09-03 00:24:24 +00:00
parent 36096ac71b
commit 6aabeed2cb

View File

@ -1,26 +1,11 @@
// Build don't run:
// Origin: Mark Mitchell <mark@codesourcery.com>
// Build don't link:
// Origin: Loring Holden <lsh@cs.brown.edu>
template <class T>
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; }
};