diff --git a/test/CFrontend/2007-10-30-Volatile.c b/test/CFrontend/2007-10-30-Volatile.c new file mode 100644 index 00000000000..7a75b05d5d2 --- /dev/null +++ b/test/CFrontend/2007-10-30-Volatile.c @@ -0,0 +1,6 @@ +// RUN: %llvmgcc -S %s -o /dev/null -Wall -Werror +void bork() { + char * volatile p; + volatile int cc; + p += cc; +}