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] - Blame information for rev 801

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

Line No. Rev Author Line
1 693 jeremybenn
// Test for mangling of template args in a typename type.
2
 
3
struct A
4
{
5
  template 
6
  struct B
7
  {
8
    typedef T myT;
9
  };
10
};
11
 
12
struct C {};
13
 
14
template 
15
void f (T t, typename T::template B::myT u, typename T::template B::myT v);
16
 
17
int main()
18
{
19
  f (A(), C(), 1);
20
}
21
 
22
// { dg-final { scan-assembler "_Z1fI1AEvT_NS1_1BI1CE3myTENS2_IiE3myTE" } }

powered by: WebSVN 2.1.0

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