brintos

brintos / llvm-project-archived public Read only

0
0
Text · 286 B · f760cd9 Raw
22 lines · c
1#include <stdio.h>2 3static int g_var = 0;4 5int step_out_of_me()6{7  return g_var; // Set a breakpoint here and step out.8}9 10void11increment_gvar() {12  g_var++;13}14 15int16main()17{18  int result = step_out_of_me(); // Stop here first19  increment_gvar(); // Continue to here20  return result;21}22