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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [other/] [crash-10.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
// Origin: PR c++/43327
2
// { dg-do compile }
3
 
4
template 
5
struct A
6
{
7
  template  struct B;
8
 
9
  template 
10
  struct B<_N, _T::m>
11
  {
12
     static void f();
13
  };
14
};
15
 
16
struct C
17
{
18
  static const int m = 4;
19
};
20
 
21
void m()
22
{
23
  A::B<1, 4>::f();
24
}

powered by: WebSVN 2.1.0

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