URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 305 |
Rev 338 |
// { dg-do assemble }
|
// { dg-do assemble }
|
//
|
//
|
// Copyright (C) 2000 Free Software Foundation, Inc.
|
// Copyright (C) 2000 Free Software Foundation, Inc.
|
// Contributed by Nathan Sidwell 18 Aug 2000
|
// Contributed by Nathan Sidwell 18 Aug 2000
|
|
|
// bug 123. We ICEd when koenig lookup found a COMPONENT_REF inside a
|
// bug 123. We ICEd when koenig lookup found a COMPONENT_REF inside a
|
// TEMPLATE_ID_EXPR.
|
// TEMPLATE_ID_EXPR.
|
|
|
void foo(void (*f)());
|
void foo(void (*f)());
|
|
|
struct A {
|
struct A {
|
template
|
template
|
static void g();
|
static void g();
|
template
|
template
|
void f(); // { dg-error "" } candiate
|
void f(); // { dg-error "" } candiate
|
|
|
static void f_plus ()
|
static void f_plus ()
|
{
|
{
|
foo (f<0>); // { dg-error "" } no match
|
foo (f<0>); // { dg-error "" } no match
|
foo (g<0>);
|
foo (g<0>);
|
}
|
}
|
};
|
};
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.