OSDN Git Service

Some raw string changes from N3077
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / other / pr42685.C
1 // { dg-do compile }
2 // { dg-options "-O -funroll-loops -fcompare-debug" }
3
4 void Remap(int n, int *src, int *dst, int *map)
5 {
6   do {
7     int i = *src;
8     if (i != 0) *dst = map[i];
9   } while (--n != 0);
10 }