summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/array3.C
blob: 4f9d8948675251b99f6990c3e758883ed00df1b6 (plain)
1
2
3
4
5
// { dg-do assemble  }
// Origin: Brendan Kehoe <brendan@cygnus.com>

 template <int x> int foo(char[4][x]) { return x; }
 int (*bar)(char[4][3]) = &foo;