llvm-project/llvm/test/CFrontend/2007-10-02-VolatileArray.c

8 lines
95 B
C

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