blob: cdf99408473e935131547e23cbec6c62bc9647b8 [file] [log] [blame]
// PR c++/48212
// { dg-options -std=c++0x }
template < bool > void
foo ()
{
const bool b =; // { dg-error "" }
foo < b > (); // { dg-error "constant expression" "const expr" }
};
// { dg-error "no match" "no match" { target *-*-* } 8 }