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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [cpp0x/] [vt-34314.C] - Blame information for rev 774

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

Line No. Rev Author Line
1 693 jeremybenn
// { dg-options "-std=c++0x" }
2
 
3
template // { dg-error "template parameter" }
4
struct call;
5
 
6
template
7
struct call // { dg-error "redeclared here" }
8
{
9
    template
10
    struct result;
11
 
12
    template
13
    struct result
14
    {
15
        typedef X type;
16
    };
17
};
18
 
19
 
20
template // { dg-error "template parameter" }
21
struct call2;
22
 
23
template
24
struct call2 // { dg-error "redeclared here" }
25
{
26
    template
27
    struct result;
28
 
29
    template
30
    struct result
31
    {
32
        typedef X type;
33
    };
34
};
35
 
36
template class... TT> // { dg-error "template parameter" }
37
struct call3;
38
 
39
template class TT>
40
struct call3 // { dg-error "redeclared here" }
41
{
42
    template
43
    struct result;
44
 
45
    template
46
    struct result
47
    {
48
        typedef X type;
49
    };
50
};

powered by: WebSVN 2.1.0

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