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/] [access16.C] - Blame information for rev 825

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

Line No. Rev Author Line
1 149 jeremybenn
// PR c++/23842
2
 
3
struct S;
4
extern S *p;
5
template  int f(T*, int y = ((T*)p)->x) {
6
        return y;
7
}
8
struct S {
9
private:
10
  int x;
11
  template  friend int f(U*, int);
12
};
13
int g() {
14
  return f(p);
15
}
16
 

powered by: WebSVN 2.1.0

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