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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [g++.dg/] [abi/] [mangle30.C] - Blame information for rev 301

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 301 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.