blob: b1dcb7ea7d0b1c2f1f8c4f418e41aa53b9c7ee49 [file] [log] [blame]
Eric Christopher3883e662011-07-26 22:17:02 +00001// RUN: %clang_cc1 -emit-llvm %s -o - | grep volatile
2// PR1647
3
4void foo(volatile int *p)
5{
6p[0] = 0;
7}