Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.old-deja / g++.oliva / template1.C
blob133899e55e8e49c22b84f9c0afea8b9caa925f92
1 // { dg-do assemble }
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 not declared
13 void bar() {
14   foo<>::bar(0); // { dg-error "" "" } instantiated from here