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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.dg/] [lookup/] [using4.C] - Blame information for rev 149

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

Line No. Rev Author Line
1 149 jeremybenn
// { dg-do compile }
2
 
3
// Origin: Richard Guenther 
4
 
5
// PR c++/9432: ICE in validate_nonmember_using_decl when decl is a
6
// SCOPE_REF.
7
 
8
template  struct Foo;
9
template 
10
struct Bar : public Foo {
11
        void foo()
12
        {
13
                using Foo::i;   // { dg-error "not a namespace" }
14
        }
15
};

powered by: WebSVN 2.1.0

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