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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [other/] [crash-12.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++/43953
2
 
3
template
4
         typename U,
5
         typename T::type V> class bad;
6
 
7
// partial specialization
8
// for T = U
9
template
10
class bad
11
{
12
public:
13
  static void foo() {}
14
};
15
 
16
struct dummy
17
{
18
  typedef int type;
19
};
20
 
21
int main()
22
{
23
  bad::foo();
24
}
25
 

powered by: WebSVN 2.1.0

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