summaryrefslogtreecommitdiffstats
path: root/test/Index/t2.c
blob: bf52869ec8d92618e1aadaa29b9a4e63e6b9aa4f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include "foo.h"

int global_var = 10;

void bar_func(void) {
  global_var += 100;
  foo_func(global_var);

  struct MyStruct *ms;
  ms->field_var = 10;
}

// Suppress 'no run line' failure.
// RUN: true
OpenPOWER on IntegriCloud