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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.old-deja/] [g++.jason/] [byval3.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
// Test to make sure that value return of classes with cleanups works; it
3
// has been broken at various times on PCC_STATIC_STRUCT_RETURN targets.
4
 
5
struct A {};
6
 
7
struct R : virtual A { virtual ~R(); };
8
 
9
R g();
10
 
11
void encode()
12
{
13
    g();
14
}

powered by: WebSVN 2.1.0

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