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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 693 jeremybenn
// Origin: PR c++/38357
2
// { dg-do compile }
3
 
4
class BUG
5
{
6
public:
7
 bool name() { return true; }
8
};
9
 
10
template 
11
struct BUG1_5
12
{
13
 
14
};
15
 
16
template 
17
class BUG2 : BUG
18
{
19
public:
20
 typedef BUG1_5 ptr; // { dg-error "could not convert template argument" }
21
};
22
 
23
int main()
24
{
25
 BUG2 b;
26
 return 0;
27
}

powered by: WebSVN 2.1.0

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