1 // PR c++/85977, Incorrect handling of array reference size deduction
2 // { dg-do compile { target c++11 } }
3 
4 template <int N>
fn(const char (&)[N])5 void fn (const char (&)[N]) { }
6 
7 void
bar()8 bar ()
9 {
10   fn ({1.2}); // { dg-error "narrowing" }
11 }
12