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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.old-deja/] [g++.other/] [crash40.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) 2001 Free Software Foundation, Inc.
3
// Contributed by Nathan Sidwell 11 April 2001 
4
// Origin: Theo Papadopoulo 
5
 
6
// Bug 1917. We were considering thunks to clones to be clones. and
7
// hence getting confused.
8
 
9
struct A { virtual ~A(); };
10
struct B { virtual ~B(); };
11
 
12
struct C: public A,B {};
13
 
14
template 
15
inline TYPE
16
sqr(const TYPE& x) {
17
    return 1;
18
}
19
int f(const int t) { return sqr(t); }

powered by: WebSVN 2.1.0

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