summaryrefslogtreecommitdiffstats
path: root/test/Analysis/inline4.c
blob: b2b3c346e374034cb0883f8093e70955586adbbe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// RUN: false
// XFAIL: *
int g(int a) {    
  return a;
}

int f(int a) {
  // Do not remove block-level expression bindings of caller when analyzing 
  // in the callee.
  if (1 && g(a)) // The binding of '1 && g(a)' which is an UndefinedVal 
                 // carries important information.
    return 1;
  return 0;
}
OpenPOWER on IntegriCloud