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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [template/] [using22.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++/52126
2
// { dg-do compile }
3
 
4
template  struct Z {};
5
 
6
template
7
struct A
8
{
9
    struct B : A
10
    {
11
        using A::nonexist; // { dg-error "no members matching" }
12
    };
13
 
14
    struct C : A
15
    {
16
        using A::nonexist; // { dg-error "no members matching" }
17
    };
18
 
19
    struct D : A
20
    {
21
        using A::nonexist; // { dg-error "no members matching" }
22
    };
23
 
24
    struct E : A
25
    {
26
        using A::nonexist; // { dg-error "no members matching" }
27
    };
28
 
29
    struct F : Z
30
    {
31
        using Z::nonexist;
32
    };
33
};

powered by: WebSVN 2.1.0

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