URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 154 |
Rev 816 |
// { dg-do compile }
|
// { dg-do compile }
|
|
|
// Copyright (C) 2003 Free Software Foundation, Inc.
|
// Copyright (C) 2003 Free Software Foundation, Inc.
|
// Contributed by Nathan Sidwell 24 Jan 2003
|
// Contributed by Nathan Sidwell 24 Jan 2003
|
|
|
// PR 9403. We failed to parse template keyword, and we accepted code
|
// PR 9403. We failed to parse template keyword, and we accepted code
|
// which required one.
|
// which required one.
|
|
|
template struct Outer;
|
template struct Outer;
|
|
|
template
|
template
|
struct X : Outer::template Inner
|
struct X : Outer::template Inner
|
{};
|
{};
|
|
|
template
|
template
|
struct Y : Outer::Inner {}; // { dg-error "" "" }
|
struct Y : Outer::Inner {}; // { dg-error "" "" }
|
|
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.