llvm-6502/test/FrontendC/2007-10-02-VolatileArray.c

8 lines
95 B
C
Raw Normal View History

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