1*f4a2713aSLionel Sambuc // RUN: %clang_cc1 -emit-llvm -O2 %s -o /dev/null 2*f4a2713aSLionel Sambuc // PR2292. g(void)3*f4a2713aSLionel Sambuc __inline__ __attribute__ ((__pure__)) int g (void) {} f(int k)4*f4a2713aSLionel Sambuc void f (int k) { k = g (); } 5