URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Go to most recent revision |
Only display areas with differences |
Details |
Blame |
View Log
Rev 149 |
Rev 154 |
// { dg-do compile }
|
// { dg-do compile }
|
|
|
// Copyright (C) 2003 Free Software Foundation, Inc.
|
// Copyright (C) 2003 Free Software Foundation, Inc.
|
// Contributed by Nathan Sidwell 30 Jul 2003
|
// Contributed by Nathan Sidwell 30 Jul 2003
|
|
|
// PR 11347. ICE in tsubst
|
// PR 11347. ICE in tsubst
|
|
|
template struct T1 {
|
template struct T1 {
|
enum {N};
|
enum {N};
|
};
|
};
|
|
|
template struct T2 {
|
template struct T2 {
|
template ::N + 1> struct B {};
|
template ::N + 1> struct B {};
|
struct C {};
|
struct C {};
|
};
|
};
|
|
|
T2 t;
|
T2 t;
|
|
|
T2::B s;
|
T2::B s;
|
|
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.