1 // RUN: %clang_cc1 -fopenmp -x c++ %s -verify -debug-info-kind=limited -emit-llvm -o - | FileCheck %s 2 3 // RUN: %clang_cc1 -fopenmp-simd -x c++ %s -verify -debug-info-kind=limited -emit-llvm -o - | FileCheck --check-prefix SIMD-ONLY0 %s 4 // SIMD-ONLY0-NOT: {{__kmpc|__tgt}} 5 // expected-no-diagnostics 6 f(int m)7void f(int m) { 8 int i; 9 int cen[m]; 10 #pragma omp parallel for 11 for (i = 0; i < m; ++i) { 12 cen[i] = i; 13 } 14 } 15 16 // CHECK: !DILocalVariable(name: "cen", arg: 5 17