blob: 7e8bf24a84b891bae98b68b0bf0bd4ebcd3f92fa [file] [log] [blame]
Chris Lattner4ec2c7e2007-10-03 05:29:07 +00001// RUN: %llvmgcc -S %s -o - | grep volatile
2// PR1647
3
4void foo(volatile int *p)
5{
6p[0] = 0;
7}