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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [treelang/] [compile/] [full_unit.tree] - Blame information for rev 193

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

Line No. Rev Author Line
1 149 jeremybenn
// { dg-do compile }
2
// { dg-options "-funit-at-a-time" }
3
external_definition int add (int arga, int argb);
4
external_definition char sub (char argc, char argd);
5
 
6
add
7
{
8
        return arga + argb + +3;
9
}
10
 
11
sub
12
{
13
        return argd - argc + +2;
14
}
15
// { dg-final { scan-assembler "add" } }
16
// { dg-final { scan-assembler "sub" } }

powered by: WebSVN 2.1.0

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