hanchenye-llvm-project/llvm/test/FrontendC/2007-10-02-VolatileArray.c

8 lines
95 B
C
Raw Normal View History

2007-10-03 13:29:07 +08:00
// RUN: %llvmgcc -S %s -o - | grep volatile
// PR1647
void foo(volatile int *p)
{
p[0] = 0;
}