reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | #include <stdlib.h> int main() { int a[1000], b[1000]; for (int i = 0; i < 1000; ++i) a[i] = i; #pragma scop for (int i = 0; i < 1000; ++i) { int c; int d; c = a[i]; d = c; b[i] = c; } #pragma endscop for (int i = 0; i < 1000; ++i) if (b[i] != a[i]) return EXIT_FAILURE; return EXIT_SUCCESS; } |