summaryrefslogtreecommitdiff
path: root/clang/test/CodeGen/debug-info-static.c
blob: e75d20fbacc290912b6fc8165da4adf7cb03971f (about) (plain)
1
2
3
4
5
6
7
8
// RUN: %clang_cc1  -g -emit-llvm -o - %s | FileCheck %s

// CHECK:  xyzzy} ; [ DW_TAG_variable ]
void f(void)
{
   static int xyzzy;
   xyzzy += 3;
}