aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/tools/llvm-symbolizer/Inputs/symbols.part2.cpp
blob: 35e66d62622f89c0ccb171a9216a87a914cd3a12 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include "symbols.h"

int static static_var = 4;

static int static_func_01(int x) {
  static_var--;
  return x;
}

int func_02(int x) {
  static_var = x;
  return static_func_01(x);
}

int func_05(int x) {
  int res = static_var;
  return res + func_03(x);
}