From e45bb9ad5e7467bc6ba39f2963aa58734aaba98c Mon Sep 17 00:00:00 2001 From: Devang Patel Date: Tue, 30 Oct 2007 23:07:47 +0000 Subject: [PATCH] New test. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43527 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CFrontend/2007-10-30-Volatile.c | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 test/CFrontend/2007-10-30-Volatile.c 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; +} -- 2.34.1