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

Subversion Repositories openrisc

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

Compare with Previous | Blame | View Log

// PR c++/33962
// { dg-do compile }

template <class T> struct A;

template <class U> void foo (const U &x, ...);
template <class T> void foo (const A<T> &x, ...);

void bar (const A<int> &x, const char *y)
{
  foo (x, y);
}

/* { dg-final { scan-assembler "_Z3fooIiEvRK1AIT_Ez" } } */
/* { dg-final { scan-assembler-not "_Z3fooI1AIiEEvRKT_z" } } */

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.