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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.dg/] [template/] [crash37.C] - Blame information for rev 816

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
// PR c++/21352
2
 
3
struct coperator_stack
4
{
5
 template
6
 void push3()
7
 {
8
 }
9
};
10
 
11
struct helper {};
12
 
13
template
14
void bla(F f) // { dg-error "candidates" }
15
{
16
}
17
 
18
template 
19
struct definition
20
{
21
 definition()
22
 {
23
   bla(coperator_stack::push3); // { dg-error "" }
24
 }
25
};
26
 

powered by: WebSVN 2.1.0

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