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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [template/] [nontype15.C] - Blame information for rev 715

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

Line No. Rev Author Line
1 693 jeremybenn
struct foo {
2
    typedef int (*fun)(int);
3
 
4
  static int f(int);    // overload between static & non-static
5
  int f();
6
 
7
  static int g(int);    // non-overloaded static
8
};
9
 
10
template
11
struct f_obj {
12
  // something ..
13
};
14
 
15
int foo::f() {
16
  f_obj f1;
17
  f_obj f2;
18
 
19
  return 0;
20
}

powered by: WebSVN 2.1.0

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