Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/g++.old-deja/g++.robertl/eb83.C @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children | 84e7813d76e9 |
line wrap: on
line source
// { 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 } } */