llvm/clang/test/CodeGen/2007-10-30-Volatile.c

// RUN: %clang_cc1 -emit-llvm %s -o /dev/null -Wall -Wno-unused-but-set-variable -Werror
void bork(void) {
  char * volatile p = 0;
  volatile int cc = 0;
  p += cc;
}