Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / OpenMP / bug63570.c
blobf61a2ee49b388d0c0440b2bd5afe20d5e68a722a
1 // RUN: %clang_cc1 -verify -fopenmp -x c -triple x86_64-apple-darwin10 %s
2 // RUN: %clang_cc1 -verify -fopenmp-simd -x c -triple x86_64-apple-darwin10 %s
3 // expected-no-diagnostics
5 void f(float *a, float *b) {
6 #pragma omp unroll
7 for (int i = 0; i < 128; i++) {
8 a[i] = b[i];