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

Subversion Repositories openrisc

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

Go to most recent revision | Compare with Previous | Blame | View Log

// PR c++/48008
// { dg-options -fabi-version=5 }
// Test that we retain function-cv-quals in template argument mangling.

template <class T>
struct A
{ };

typedef void cfn(int) const;
typedef void fn(int);

// { dg-final { scan-assembler  "_Z1f1AIFviEE" } }
void f(A<fn>) { }
// { dg-final { scan-assembler  "_Z1f1AIKFviEE" } }
void f(A<cfn>) { }

Go to most recent revision | 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.