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

Subversion Repositories scarts

[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [gcc/] [testsuite/] [g++.dg/] [template/] [crash37.C] - Blame information for rev 12

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 12 jlechner
// 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.