netbsd/external/bsd/llvm/dist/clang/test/CodeGen/2007-10-02-VolatileArray.c
2014-01-15 10:53:42 +01:00

8 lines
105 B
C

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