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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.old-deja/] [g++.other/] [crash40.C] - Diff between revs 154 and 816

Only display areas with differences | Details | Blame | View Log

Rev 154 Rev 816
// { dg-do assemble  }
// { dg-do assemble  }
// Copyright (C) 2001 Free Software Foundation, Inc.
// Copyright (C) 2001 Free Software Foundation, Inc.
// Contributed by Nathan Sidwell 11 April 2001 
// Contributed by Nathan Sidwell 11 April 2001 
// Origin: Theo Papadopoulo 
// Origin: Theo Papadopoulo 
// Bug 1917. We were considering thunks to clones to be clones. and
// Bug 1917. We were considering thunks to clones to be clones. and
// hence getting confused.
// hence getting confused.
struct A { virtual ~A(); };
struct A { virtual ~A(); };
struct B { virtual ~B(); };
struct B { virtual ~B(); };
struct C: public A,B {};
struct C: public A,B {};
template 
template 
inline TYPE
inline TYPE
sqr(const TYPE& x) {
sqr(const TYPE& x) {
    return 1;
    return 1;
}
}
int f(const int t) { return sqr(t); }
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.