URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 301 |
Rev 338 |
// Contributed by Dodji Seketeli
|
// Contributed by Dodji Seketeli
|
// Origin: PR c++/13699
|
// Origin: PR c++/13699
|
// { dg-do compile }
|
// { dg-do compile }
|
|
|
namespace A {
|
namespace A {
|
extern "C" void foo_func () throw(); // { dg-error "conflicts" }
|
extern "C" void foo_func () throw(); // { dg-error "conflicts" }
|
}
|
}
|
// next line should trigger an error because
|
// next line should trigger an error because
|
// it conflicts with previous declaration of foo_func (), due to
|
// it conflicts with previous declaration of foo_func (), due to
|
// different exception specifications.
|
// different exception specifications.
|
extern "C" void foo_func (); // { dg-error "C language|exception specifications" }
|
extern "C" void foo_func (); // { dg-error "C language|exception specifications" }
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.