11 lines · plain
1! RUN: %flang_fc1 -emit-llvm -debug-info-kind=standalone %s -o - | FileCheck %s2 3! Test that correct linkage name is generated in the debug info.4subroutine sub(a)5 integer :: a6 return a+17end8 9!CHECK: !DISubprogram(name: "sub", linkageName: "sub_"{{.*}})10 11