minix/external/bsd/llvm/dist/clang/test/CodeGen/2007-10-02-VolatileArray.c

8 lines
105 B
C
Raw Normal View History

// RUN: %clang_cc1 -emit-llvm %s -o - | grep volatile
// PR1647
void foo(volatile int *p)
{
p[0] = 0;
}