aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/tools/llvm-symbolizer/Inputs/symbols.part1.cpp
blob: ad4b3e34411aa401fc04796a4919eeeebdb9a260 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#include "symbols.h"

int global_01 = 22;

int static static_var = 0;

static int static_func_01(int x) {
  static_var = x;
  return global_01;
}

int func_01() {
  int res = 1;
  return res + static_func_01(22);
}

int func_04() {
  static_var = 0;
  return 22;
}

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