URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 305 |
Rev 384 |
// { dg-do assemble }
|
// { dg-do assemble }
|
// Origin: Mark Mitchell
|
// Origin: Mark Mitchell
|
|
|
static int strlen (const char*) { return 0; }
|
static int strlen (const char*) { return 0; }
|
|
|
template
|
template
|
void f () {}
|
void f () {}
|
|
|
// Check that the strlen declaration here is given internal linkage by
|
// Check that the strlen declaration here is given internal linkage by
|
// using it as a non-type template argument, and expecting an error.
|
// using it as a non-type template argument, and expecting an error.
|
template void f(); // { dg-error "" } no matching template
|
template void f(); // { dg-error "" } no matching template
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.