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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.old-deja/] [g++.pt/] [crash59.C] - Blame information for rev 749

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 699 jeremybenn
// { dg-do assemble  }
2
// Copyright (C) 2000 Free Software Foundation, Inc.
3
// Contributed by Nathan Sidwell 4 Oct 2000 
4
// Origin: Bug 543 Gerald Pfeifer 
5
 
6
// Bug 532. We failed to bail out when tsubsting a _DECL failed
7
 
8
class ATOMSET
9
{
10
};
11
 
12
template 
13
void addConstsTo(const T &container)
14
{
15
typename T::const_iterator l = 0; // { dg-error "" } no type const_iterator
16
}
17
 
18
void tallyConstants()
19
{
20
addConstsTo(ATOMSET());
21
}

powered by: WebSVN 2.1.0

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