1 // RUN: %clang_cc1 -fopenacc -Wno-openacc-deprecated-clause-alias -ast-print %s -o - | FileCheck %s
6 // CHECK: #pragma acc loop
7 // CHECK-NEXT: for (;;)
12 // CHECK: #pragma acc loop device_type(SomeStruct)
13 // CHECK-NEXT: for (;;)
15 #pragma acc loop device_type(SomeStruct)
18 // CHECK: #pragma acc loop device_type(int)
19 // CHECK-NEXT: for (;;)
21 #pragma acc loop device_type(int)
24 // CHECK: #pragma acc loop dtype(bool)
25 // CHECK-NEXT: for (;;)
27 #pragma acc loop dtype(bool)
30 // CHECK: #pragma acc loop dtype(AnotherIdent)
31 // CHECK-NEXT: for (;;)
33 #pragma acc loop dtype(AnotherIdent)
36 // CHECK: #pragma acc loop independent
37 // CHECK-NEXT: for (;;)
39 #pragma acc loop independent
41 // CHECK: #pragma acc loop seq
42 // CHECK-NEXT: for (;;)
46 // CHECK: #pragma acc loop auto
47 // CHECK-NEXT: for (;;)
55 // CHECK: #pragma acc loop private(i, array[1], array, array[1:2])
56 // CHECK-NEXT: for (;;)
58 #pragma acc loop private(i, array[1], array, array[1:2])