blob: b5cd96161f1ef1703b96a959cf8fbc759c79973b [file] [log] [blame]
// Build don't link:
// Origin: Mark Mitchell <mark@codesourcery.com>
struct S
{
S (int);
operator bool () const;
};
template <class T>
void f ()
{
if (const S &s = 3) {
}
}
template void f<int>();