New test.
authorDevang Patel <dpatel@apple.com>
Tue, 30 Oct 2007 23:07:47 +0000 (23:07 +0000)
committerDevang Patel <dpatel@apple.com>
Tue, 30 Oct 2007 23:07:47 +0000 (23:07 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43527 91177308-0d34-0410-b5e6-96231b3b80d8

test/CFrontend/2007-10-30-Volatile.c [new file with mode: 0644]

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