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

Subversion Repositories openrisc

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

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

Line No. Rev Author Line
1 693 jeremybenn
//PR c++/11070
2
// Used to ICE
3
// Origin: bangerth@dealii.org and rwgk@yahoo.com
4
 
5
template  struct X {
6
    template 
7
    static int* execute(int* x) { return x; }
8
};
9
 
10
template  void foo() {
11
  static bool const same = true;
12
  X::execute (0);
13
}
14
 
15
template void foo ();
16
 

powered by: WebSVN 2.1.0

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