URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 305 |
Rev 338 |
// { dg-do assemble }
|
// { dg-do assemble }
|
|
|
// Copyright (C) 1999, 2003 Free Software Foundation
|
// Copyright (C) 1999, 2003 Free Software Foundation
|
|
|
// by Alexandre Oliva
|
// by Alexandre Oliva
|
// based on bug report by Stefan Wetzel
|
// based on bug report by Stefan Wetzel
|
|
|
|
|
template struct foo {
|
template struct foo {
|
static void bar(double (*)[dim]) {} // { dg-error "'dim' was not declared" }
|
static void bar(double (*)[dim]) {} // { dg-error "'dim' was not declared" }
|
};
|
};
|
|
|
void bar() {
|
void bar() {
|
foo<>::bar(0);
|
foo<>::bar(0);
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.