repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
FSF GCC merge 02/23/03
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.robertl
/
eb83.C
blob
0f42cf4afa7a126f462f0a695645bb140febaa58
1
// Skip if not native
2
// Special g++ Options: -fprofile-arcs -ftest-coverage
3
void
4
test_swap(int& x, int& y) throw()
5
{
6
int tmp = x;
7
x = y;
8
y = tmp;
9
}
10
11
main()
12
{
13
int i = 5;
14
int j = 7;
15
test_swap(i, j);
16
}