blob: 82ef8f0a65301a9dc94334b40a4849d03fa36a85 [file] [edit]
! Test that -gline-directives-only leaves the name table off.
! RUN: %flang_fc1 -debug-info-kind=line-directives-only -emit-llvm -o - %s \
! RUN: | FileCheck %s
! RUN: %flang_fc1 -debug-info-kind=line-directives-only -gpubnames \
! RUN: -emit-llvm -o - %s | FileCheck %s
! CHECK: !DICompileUnit({{.*}}emissionKind: DebugDirectivesOnly
! CHECK-SAME: nameTableKind: None
program test
end program test