1 // PR c++/86219
2 
3 template <int a> struct t;
4 template <int a>
f()5 void f ()
6 {
7    const int b = "";		// { dg-error "conversion" }
8    t<b>::c;			// { dg-error "constant" }
9    // { dg-prune-output "template argument 1 is invalid" }
10 }
11