URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Subversion Repositories openrisc_2011-10-31
[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc2/] [gcc/] [testsuite/] [g++.old-deja/] [g++.oliva/] [template1.C] - Rev 384
Compare with Previous | Blame | View Log
// { dg-do assemble }
// Copyright (C) 1999, 2003 Free Software Foundation
// by Alexandre Oliva <oliva@dcc.unicamp.br>
// based on bug report by Stefan Wetzel <Stefan_Wetzel@Physik.TU-Muenchen.DE>
template<int P = 0> struct foo {
static void bar(double (*)[dim]) {} // { dg-error "'dim' was not declared" }
};
void bar() {
foo<>::bar(0);
}