llvm-for-llvmta/tools/clang/test/CodeGen/2007-10-02-VolatileArray.c

8 lines
105 B
C
Raw Permalink Normal View History

2022-04-25 13:02:35 +02:00
// RUN: %clang_cc1 -emit-llvm %s -o - | grep volatile
// PR1647
void foo(volatile int *p)
{
p[0] = 0;
}