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 338 |
// { dg-do assemble }
|
// { dg-do assemble }
|
|
|
// Copyright (C) 2000 Free Software Foundation
|
// Copyright (C) 2000 Free Software Foundation
|
// Contributed by Nathan Sidwell 6 July 2000
|
// Contributed by Nathan Sidwell 6 July 2000
|
|
|
template
|
template
|
void Wibble (void (*fn) (), T *const __restrict__ &p2)
|
void Wibble (void (*fn) (), T *const __restrict__ &p2)
|
{}
|
{}
|
template
|
template
|
void Wibble (T1 *const __restrict__ &p1, T2 *const __restrict__ &p2)
|
void Wibble (T1 *const __restrict__ &p1, T2 *const __restrict__ &p2)
|
{}
|
{}
|
|
|
void Baz ();
|
void Baz ();
|
|
|
void Foo (void const *ptr)
|
void Foo (void const *ptr)
|
{
|
{
|
Wibble (&Baz, ptr);
|
Wibble (&Baz, ptr);
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.