testcase for PR1647

llvm-svn: 42570
This commit is contained in:
Chris Lattner 2007-10-03 05:29:07 +00:00
parent d66e0cd6c0
commit b511029eaf
1 changed files with 7 additions and 0 deletions

View File

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