blob: 99487a70607044eb822c874fb6294a922375edc6 [file] [log] [blame]
// PR c++/85977, Incorrect handling of array reference size deduction
// { dg-do compile { target c++11 } }
template <typename T, int N>
void fn (const T (&)[N]) { static_assert (N == 3, "fn"); }
void
bar ()
{
fn ({1, 2, 3});
}