Commit 6aabeed2 by Mark Mitchell

Readd file

From-SVN: r29072
parent 36096ac7
// Build don't run: // Build don't link:
// Origin: Mark Mitchell <mark@codesourcery.com> // Origin: Loring Holden <lsh@cs.brown.edu>
template <class T> class Wpt {};
void f (T&) ;
template <>
void f (void (&)())
{
}
void g ()
{
}
void h ()
{
}
bool b;
int main ()
{
f (b ? g : h);
}
class RAYhit {
protected:
Wpt _nearpt;
public:
Wpt surf () const { return true ? Wpt(): _nearpt; }
};
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment