// Build don't link: // Copyright (C) 1999 Free Software Foundation // by Alexandre Oliva // based on bug report by Stefan Wetzel // crash test - XFAIL *-*-* template struct foo { static void bar(double (*)[dim]) {} // ERROR - dim not declared }; void bar() { foo<>::bar(0); // ERROR - instantiated from here }