[LLVM][IR] Use splat syntax when printing ConstantExpr based splats. (#116856)
[llvm-project.git] / clang / test / CodeGen / bpf-debug-info-unref.c
blob91f761ec3b77fbe32905ed1be732e59f6ccb52e3
1 // RUN: %clang -g -target bpf -S -emit-llvm %s -o - | FileCheck %s
2 //
3 // No debug info is produced for unreferenced functions.
4 // CHECK-NOT: !DISubprogram
5 void unref(void);
6 void unref2(typeof(unref));
8 // No debug info for unused extern variables as well.
9 // CHECK-NOT: !DiGlobalVariable
10 extern int unused;
11 extern int unused2[sizeof(unused)];