Debian Codegraph @

flang/test/Preprocessing/pp132.f90

raw
1 ! RUN: %flang -E %s 2>&1 | FileCheck --strict-whitespace %s
2 ! CHECK: {{^}}!$OMP parallel default(shared) private(super_very_long_name_for_the_va&
3 ! CHECK-NEXT: {{^}}!$OMP&riable)
4 ! CHECK: {{^}}!$omp end parallel
5 ! CHECK: {{^}}!$acc data copyin(super_very_long_name_for_the_variable, another_super&
6 ! CHECK-NEXT: {{^}}!$acc&_wordy_variable_to_test)
7 ! CHECK: {{^}}!$acc end data
8 ! CHECK: {{^}}!$OMP something something
9 ! Test correct continuations in compiler directives and left-alignment of sentinels
10 subroutine foo
11 integer :: super_very_long_name_for_the_variable
12 integer :: another_super_wordy_variable_to_test
13
14 super_very_long_name_for_the_variable = 42
15 another_super_wordy_variable_to_test = super_very_long_name_for_the_variable * 2
16 !$OMP parallel default(shared) private(super_very_long_name_for_the_variable)
17 !$omp end parallel
18
19 !$acc data copyin(super_very_long_name_for_the_variable, another_super_wordy_variable_to_test)
20 !$acc end data
21
22 !$OMP something something
23 end subroutine foo