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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.dg/] [template/] [access8.C] - Blame information for rev 816

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
// Copyright (C) 2003 Free Software Foundation
2
// Contributed by Kriang Lerdsuwanakij 
3
// { dg-do compile }
4
 
5
// Template instantiate during deferred access check
6
 
7
template  struct C {
8
  typedef typename T::X Y;
9
};
10
 
11
class A {
12
  typedef int X;
13
  template  friend struct C;
14
};
15
 
16
C::Y f(int);

powered by: WebSVN 2.1.0

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