3 // Copyright (C) 1999, 2003 Free Software Foundation
5 // by Alexandre Oliva <oliva@dcc.unicamp.br>
6 // based on bug report by Stefan Wetzel <Stefan_Wetzel@Physik.TU-Muenchen.DE>
9 template<int P = 0> struct foo {
10 static void bar(double (*)[dim]) {} // { dg-error "'dim' was not declared" }