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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [parse/] [using3.C] - Blame information for rev 704

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

Line No. Rev Author Line
1 693 jeremybenn
// { dg-do compile }
2
 
3
// Copyright (C) 2003 Free Software Foundation, Inc.
4
// Contributed by Nathan Sidwell 6 Sep 2003 
5
// Origin: stefaandr@hotmail.com
6
 
7
// PR c++/11794. Using decl in nested classes of a template class
8
 
9
template  struct a
10
{
11
  struct a1: T
12
  {
13
    using T::aa;
14
 
15
    a1() { aa = 5; }
16
  };
17
};
18
struct b { int aa; };
19
template <> struct a::a1 { a1 () {} };
20
 
21
a::a1 a_b;
22
a::a1 a_i;

powered by: WebSVN 2.1.0

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