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 Free Software Foundation
|
// Copyright (C) 1999 Free Software Foundation
|
|
|
// by Alexandre Oliva
|
// by Alexandre Oliva
|
// simplified from bug report by redleaf
|
// simplified from bug report by redleaf
|
|
|
struct B {
|
struct B {
|
template void bar();
|
template void bar();
|
} b;
|
} b;
|
|
|
template void foo() {
|
template void foo() {
|
b.bar(); // { dg-bogus "" } bar undeclared
|
b.bar(); // { dg-bogus "" } bar undeclared
|
b.template bar(); // { dg-bogus "" } ditto
|
b.template bar(); // { dg-bogus "" } ditto
|
b.B::bar();
|
b.B::bar();
|
}
|
}
|
|
|
template void foo(); // { dg-bogus "" }
|
template void foo(); // { dg-bogus "" }
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.