OSDN Git Service

Addition of a whole slew of "eb" test cases generated from the egcs-bugs
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.robertl / eb83.C
1 // Special g++ Options: -fprofile-arcs -ftest-coverage
2 void
3 swap(int& x, int& y) throw()
4 {
5   int tmp = x;
6   x = y;
7   y = tmp;
8 }
9
10 main()
11 {
12   int i = 5;
13   int j = 7;
14   swap(i, j);
15 }