1*f4a2713aSLionel Sambuc // RUN: %clang_cc1 -emit-llvm %s -o - | grep volatile 2*f4a2713aSLionel Sambuc // PR1647 3*f4a2713aSLionel Sambuc foo(volatile int * p)4*f4a2713aSLionel Sambucvoid foo(volatile int *p) 5*f4a2713aSLionel Sambuc { 6*f4a2713aSLionel Sambuc p[0] = 0; 7*f4a2713aSLionel Sambuc } 8