[AArch64] Fix brackets warning in assert. NFC
[llvm-project.git] / flang / test / Semantics / OpenACC / acc-symbols02.f90
blob0627af80b1563ffb847e87f1c2dd59c45051c8d3
1 ! RUN: %python %S/../test_symbols.py %s %flang_fc1 -fopenacc
3 !DEF:/acc_declare_symbolsModule
4 module acc_declare_symbols
5 !DEF: /acc_declare_symbols/a PUBLIC (AccCreate, AccDeclare) ObjectEntity REAL(4)
6 real a(100)
7 !$acc declare create(a)
9 !DEF:/acc_declare_symbols/b PUBLIC (AccCopyIn, AccDeclare) ObjectEntity REAL(4)
10 real b(20)
11 !$acc declare copyin(b)
13 !DEF:/acc_declare_symbols/c PUBLIC (AccDeviceResident, AccDeclare) ObjectEntity REAL(4)
14 real c(10)
15 !$acc declare device_resident(c)
17 !DEF:/acc_declare_symbols/d PUBLIC (AccLink, AccDeclare) ObjectEntity REAL(4)
18 real d(10)
19 !$acc declare link(d)
21 end module