llvm/test/CFrontend/2007-10-02-VolatileArray.c
Chris Lattner 4ec2c7eba0 testcase for PR1647
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42570 91177308-0d34-0410-b5e6-96231b3b80d8
2007-10-03 05:29:07 +00:00

8 lines
95 B
C

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