llvm-project/clang/test/CodeGen/2007-10-02-VolatileArray.c

8 lines
105 B
C

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