URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [g++.old-deja/] [g++.robertl/] [eb83.C] - Rev 305
Compare with Previous | Blame | View Log
// { dg-do run { target native } }
// { dg-options "-fprofile-arcs -ftest-coverage" }
void
test_swap(int& x, int& y) throw()
{
int tmp = x;
x = y;
y = tmp;
}
main()
{
int i = 5;
int j = 7;
test_swap(i, j);
}
/* { dg-final { cleanup-coverage-files } } */