llvm-project/clang/test/CodeGen/debug-info-static.c
Devang Patel f1faeefb32 Add new test.
llvm-svn: 143704
2011-11-04 16:57:26 +00:00

9 lines
151 B
C

// RUN: %clang_cc1 -g -emit-llvm -o - %s | FileCheck %s
// CHECK: xyzzy} ; [ DW_TAG_variable ]
void f(void)
{
static int xyzzy;
xyzzy += 3;
}