Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / CodeGen / 2010-08-10-DbgConstant.c
blobde3ff8ffe8bd7f4ea54dd0633d10b4e13a39cfbb
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))
4 static const unsigned int ro = 201;
5 void bar(int);
6 void foo(void) { bar(ro); }