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

Subversion Repositories openrisc

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

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

// Test for mangling of template args in a typename type.

struct A
{
  template <class T>
  struct B
  {
    typedef T myT;
  };
};

struct C {};

template <class T>
void f (T t, typename T::template B<C>::myT u, typename T::template B<int>::myT v);

int main()
{
  f (A(), C(), 1);
}

// { dg-final { scan-assembler "_Z1fI1AEvT_NS1_1BI1CE3myTENS2_IiE3myTE" } }

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.