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

9 lines
151 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} ; [ DW_TAG_variable ]
void f(void)
{
static int xyzzy;
xyzzy += 3;
}