URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 149 |
Rev 154 |
// Copyright (C) 2005 Free Software Foundation, Inc.
|
// Copyright (C) 2005 Free Software Foundation, Inc.
|
// Contributed by Nathan Sidwell 4 Jan 2005
|
// Contributed by Nathan Sidwell 4 Jan 2005
|
|
|
// PR 19030: ICE
|
// PR 19030: ICE
|
// Origin: Volker Reichelt
|
// Origin: Volker Reichelt
|
|
|
struct A; // { dg-error "A" }
|
struct A; // { dg-error "A" }
|
|
|
namespace N
|
namespace N
|
{
|
{
|
struct A; // { dg-error "A" }
|
struct A; // { dg-error "A" }
|
}
|
}
|
|
|
using namespace N;
|
using namespace N;
|
|
|
int A::i; // { dg-error "ambiguous|declared here" "" }
|
int A::i; // { dg-error "ambiguous|declared here" "" }
|
int A::i; // { dg-error "ambiguous|redefinition of" "" }
|
int A::i; // { dg-error "ambiguous|redefinition of" "" }
|
|
|
namespace N
|
namespace N
|
{
|
{
|
struct C;
|
struct C;
|
struct C {};
|
struct C {};
|
}
|
}
|
|
|
class D : N::C {};
|
class D : N::C {};
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.