llvm-project/clang/test/CodeGen/debug-info-static.c

9 lines
157 B
C
Raw Normal View History

2011-11-05 00:57:26 +08:00
// RUN: %clang_cc1 -g -emit-llvm -o - %s | FileCheck %s
// CHECK: xyzzy, null} ; [ DW_TAG_variable ]
2011-11-05 00:57:26 +08:00
void f(void)
{
static int xyzzy;
xyzzy += 3;
}