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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [template/] [explicit-args1.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
// PR c++/34950
2
 
3
template  struct policy {
4
    typedef int unnecessary;
5
};
6
 
7
template  struct A {
8
    typedef int type;
9
    typedef typename Policy::unnecessary unused;
10
};
11
 
12
template  struct S {
13
    typedef int type;
14
    typedef typename A::type unused;
15
};
16
 
17
template  typename S::type         foo();
18
template                    S >::type foo();
19
 
20
template  int def(T);
21
const int i = def(foo);

powered by: WebSVN 2.1.0

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