URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 301 |
Rev 338 |
// PR c++/30988
|
// PR c++/30988
|
// { dg-do compile }
|
// { dg-do compile }
|
// { dg-options "-O2 -Wall" }
|
// { dg-options "-O2 -Wall" }
|
|
|
void f (const char *) __attribute__ ((noreturn));
|
void f (const char *) __attribute__ ((noreturn));
|
void f (int) __attribute__ ((noreturn));
|
void f (int) __attribute__ ((noreturn));
|
void f (double) __attribute__ ((noreturn));
|
void f (double) __attribute__ ((noreturn));
|
|
|
template struct A
|
template struct A
|
{
|
{
|
int g ()
|
int g ()
|
{
|
{
|
f ((T) 0);
|
f ((T) 0);
|
}
|
}
|
};
|
};
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.