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) 2002 Free Software Foundation, Inc.
|
// Copyright (C) 2002 Free Software Foundation, Inc.
|
// Contributed by Nathan Sidwell 16 Sep 2002
|
// Contributed by Nathan Sidwell 16 Sep 2002
|
|
|
// Seg faulted.
|
// Seg faulted.
|
|
|
struct Base
|
struct Base
|
{
|
{
|
};
|
};
|
|
|
struct Derived : Base
|
struct Derived : Base
|
{
|
{
|
void Foo ()
|
void Foo ()
|
{
|
{
|
Base::Baz (); // { dg-error "is not a member" "" }
|
Base::Baz (); // { dg-error "is not a member" "" }
|
|
|
};
|
};
|
};
|
};
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.