URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Go to most recent revision |
Only display areas with differences |
Details |
Blame |
View Log
Rev 154 |
Rev 816 |
// { 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(); // no longer { dg-bogus "" } bar undeclared
|
b.bar(); // no longer { dg-bogus "" } bar undeclared
|
b.template bar(); // no longer { dg-bogus "" } ditto
|
b.template bar(); // no longer { dg-bogus "" } ditto
|
b.B::bar(); // ok
|
b.B::bar(); // ok
|
}
|
}
|
|
|
template void foo(); // no longer { dg-bogus "" }
|
template void foo(); // no longer { dg-bogus "" }
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.