blob: 37bc1466a6f3b2c14e84368ab774114b6a03d188 [file] [log] [blame]
// { dg-do assemble }
// 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>();