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 27 Mar 2003
|
// Contributed by Nathan Sidwell 27 Mar 2003
|
|
|
// PR 11617: Failed to diagnose missing function.
|
// PR 11617: Failed to diagnose missing function.
|
|
|
struct B {};
|
struct B {};
|
|
|
template void Bar ()
|
template void Bar ()
|
{
|
{
|
T::foo (); // { dg-error "is not a member of" "" }
|
T::foo (); // { dg-error "is not a member of" "" }
|
}
|
}
|
|
|
void Foo ()
|
void Foo ()
|
{
|
{
|
Bar (); // { dg-error "instantiated" "" }
|
Bar (); // { dg-error "instantiated" "" }
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.