tree-optimization/115843 - fix wrong-code with fully-masked loop and peeling
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.oliva / template1.C
blob908a06990a2179d59a4dc8f14006de0793ed0424
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' was not declared|array bound" }
13 void bar() {
14   foo<>::bar(0);