brintos

brintos / llvm-project-archived public Read only

0
0
Text · 335 B · 597865c Raw
11 lines · c
1// RUN: %clang_cc1 -x c -debug-info-kind=limited -triple bpf-linux-gnu -emit-llvm %s -o - | FileCheck %s2 3extern char ch;4extern char ch;5int test(void) {6  return ch;7}8 9// CHECK: distinct !DIGlobalVariable(name: "ch",{{.*}} type: ![[T:[0-9]+]], isLocal: false, isDefinition: false10// CHECK-NOT: distinct !DIGlobalVariable(name: "ch"11