xref: /llvm-project/clang/test/CodeGen/2010-08-10-DbgConstant.c (revision c5de4dd1eab00df76c1a68c5f397304ceacb71f2)
1 // RUN: %clang_cc1 -emit-llvm -debug-info-kind=limited  %s -o - | FileCheck %s
2 // CHECK: !DIGlobalVariableExpression(var: [[VAR:.*]], expr: !DIExpression(DW_OP_constu, 201, DW_OP_stack_value))
3 
4 static const unsigned int ro = 201;
5 void bar(int);
foo(void)6 void foo(void) { bar(ro); }
7