summaryrefslogtreecommitdiff
path: root/clang/test/CodeGen/2007-10-30-Volatile.c
blob: 17aac1a987c2c80b374924d7b28ba74258161334 (about) (plain)
1
2
3
4
5
6
// RUN: %clang_cc1 -emit-llvm %s -o /dev/null -Wall -Werror
void bork() {
  char * volatile p = 0;
  volatile int cc = 0;
  p += cc;
}