1 ! RUN: %python %S/test_symbols.py %s %flang_fc1
2 ! Ensure that global ENTRY symbols with global bindings
3 ! are hidden in distinct global scopes, and nothing
4 ! clashes so long as binding names are distinct.
6 !DEF: /s1 (Subroutine) Subprogram
8 !DEF: /foo (Subroutine) Subprogram
11 !DEF: /s2 (Subroutine) Subprogram
13 !DEF: /foo BIND(C) (Subroutine) Subprogram
14 entry foo() bind(c
, name
="foo1")
16 !DEF: /s3 (Subroutine) Subprogram
18 !DEF: /foo BIND(C) (Subroutine) Subprogram
19 entry foo() bind(c
, name
="foo2")