[AMDGPU] Assert if stack grows downwards. (#119888)
[llvm-project.git] / flang / test / Semantics / getsymbols04.f90
blob478b662623efe0ead0376691b429b30aecc5684e
1 ! Tests -fget-symbols-sources with COMMON.
2 program main
3 integer :: x
4 integer :: y
5 common /x/ y
6 x = y
7 end program
9 ! RUN: %flang_fc1 -fget-symbols-sources %s 2>&1 | FileCheck %s
10 ! CHECK:x:{{.*}}getsymbols04.f90, 3, 14-15
11 ! CHECK:x:{{.*}}getsymbols04.f90, 5, 11-12
12 ! CHECK:y:{{.*}}getsymbols04.f90, 4, 14-15