1 // { dg-do run  }
2 // Make sure type deduction works for both types of array parameters.
f(T (& a)[2])3 template <class T> void f (T (&a)[2]) { }
g(T a[2])4 template <class T> void g (T a[2]) { }
main()5 int main()
6 {
7   int a[2] = { 0, 0 };
8   f (a);
9   g (a);
10 }
11