1 2 3 4 5 6 7 8
// PR c++/48212 template < bool > void foo () { const bool b =; // { dg-error "" } foo < b > (); // { dg-error "" } }