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
|
// based on bug report by Nick Rasmussen
|
// based on bug report by Nick Rasmussen
|
|
|
template struct foo;
|
template struct foo;
|
|
|
template struct bar {
|
template struct bar {
|
typedef int foo;
|
typedef int foo;
|
};
|
};
|
|
|
template struct baz {
|
template struct baz {
|
typedef bar::foo foo; // { dg-error "" } missing typename
|
typedef bar::foo foo; // { dg-error "" } missing typename
|
};
|
};
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.