[LLVM][IR] Use splat syntax when printing ConstantExpr based splats. (#116856)
[llvm-project.git] / clang / test / CodeGen / debug-info-static.c
blobd6ade2aee56cd9eed5f33d8a32b4afa472d73b2b
1 // RUN: %clang_cc1 -debug-info-kind=limited -emit-llvm -o - %s | FileCheck %s
3 // CHECK: @f.xyzzy = internal global i32 0, align 4, !dbg [[XYZZY:![0-9]+]]
5 // CHECK: [[XYZZY]] = !DIGlobalVariableExpression(var: [[VAR:.*]], expr: !DIExpression())
6 // CHECK: [[VAR]] = distinct !DIGlobalVariable
7 void f(void)
9 static int xyzzy;
10 xyzzy += 3;