OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [abi/] [mangle16.C] - Rev 693

Compare with Previous | Blame | View Log

// { dg-options "-fabi-version=0" }

enum E { e = 3 };

template <int I> struct S {};

template <int I> void f (S<e + 1>) {}
template void f<7>(S<e + 1>);

template <int I> void g (S<e>) {}
template void g<7>(S<e>);

template <int I> void h (S<I + 1>) {}
template void h<7>(S<7 + 1>);

// { dg-final { scan-assembler _Z1fILi7EEv1SILi4EE } }
// { dg-final { scan-assembler _Z1gILi7EEv1SILi3EE } }
// { dg-final { scan-assembler _Z1hILi7EEv1SIXplT_Li1EEE } }

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.