1 | // RUN: %clang_cc1 -S -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); |
6 | void foo() { bar(ro); } |
7 |