summaryrefslogtreecommitdiff
path: root/clang/test/CodeGen/2007-10-02-VolatileArray.c
blob: b1dcb7ea7d0b1c2f1f8c4f418e41aa53b9c7ee49 (about) (plain)
1
2
3
4
5
6
7
// RUN: %clang_cc1 -emit-llvm %s -o - | grep volatile
// PR1647

void foo(volatile int *p)
{
p[0] = 0;
}