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

7 lines
135 B
C
Raw Permalink Normal View History

2022-04-25 13:02:35 +02:00
// RUN: %clang_cc1 -emit-llvm %s -o /dev/null -Wall -Werror
void bork() {
char * volatile p = 0;
volatile int cc = 0;
p += cc;
}