aboutsummaryrefslogtreecommitdiff
path: root/clang/test/CodeGen/2007-10-30-Volatile.c
blob: 52b47284c25ee6c9283013aa941db64efff74d2a (plain)
1
2
3
4
5
6
// 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;
}