Debian Codegraph @

clang/test/Index/openmp-stripe.c

raw
1 // RUN: c-index-test -test-load-source local %s -fopenmp=libomp -fopenmp-version=60 | FileCheck %s
2
3 void test() {
4 #pragma omp stripe sizes(5)
5 for (int i = 0; i < 65; i += 1)
6 ;
7 }
8
9 // CHECK: openmp-stripe.c:4:1: OMPStripeDirective= Extent=[4:1 - 4:28]
10 // CHECK: openmp-stripe.c:4:26: IntegerLiteral= Extent=[4:26 - 4:27]
11 // CHECK: openmp-stripe.c:5:3: ForStmt= Extent=[5:3 - 6:6]