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 }
|
// Bug: bar is considered to be overloaded (i.e. its
|
// Bug: bar is considered to be overloaded (i.e. its
|
// IDENTIFIER_GLOBAL_VALUES are TREE_LISTs) even though it isn't,
|
// IDENTIFIER_GLOBAL_VALUES are TREE_LISTs) even though it isn't,
|
// so default_conversion thinks it can't resolve the name.
|
// so default_conversion thinks it can't resolve the name.
|
|
|
void foo ();
|
void foo ();
|
void bar ();
|
void bar ();
|
|
|
void baz ()
|
void baz ()
|
{
|
{
|
void (*p)() = 1 ? (void (*)()) &foo : bar;
|
void (*p)() = 1 ? (void (*)()) &foo : bar;
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.