xref: /llvm-project/clang/test/Index/openmp-tile.c (revision 0c6f2f629cc0017361310fa4c132090413a874db)
1 // RUN: c-index-test -test-load-source local %s -fopenmp=libomp | FileCheck %s
2 
test()3 void test() {
4 #pragma omp tile sizes(5)
5   for (int i = 0; i < 65; i += 1)
6     ;
7 }
8 
9 // CHECK: openmp-tile.c:4:1: OMPTileDirective= Extent=[4:1 - 4:26]
10 // CHECK: openmp-tile.c:4:24: IntegerLiteral= Extent=[4:24 - 4:25]
11 // CHECK: openmp-tile.c:5:3: ForStmt= Extent=[5:3 - 6:6]
12