diff options
author | Devang Patel <dpatel@apple.com> | 2007-10-30 23:07:47 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2007-10-30 23:07:47 +0000 |
commit | 6d60a7aec804ae0752ef4e9b9e9d0fc0f42b9228 (patch) | |
tree | e9c1e4e08c05edc78b50f3c0c82d946b63c57cc9 /test/CFrontend | |
parent | d7ea700878cdec26ea389281e1cef0eeb027b93f (diff) | |
download | external_llvm-6d60a7aec804ae0752ef4e9b9e9d0fc0f42b9228.zip external_llvm-6d60a7aec804ae0752ef4e9b9e9d0fc0f42b9228.tar.gz external_llvm-6d60a7aec804ae0752ef4e9b9e9d0fc0f42b9228.tar.bz2 |
New test.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43527 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CFrontend')
-rw-r--r-- | test/CFrontend/2007-10-30-Volatile.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/CFrontend/2007-10-30-Volatile.c b/test/CFrontend/2007-10-30-Volatile.c new file mode 100644 index 0000000..7a75b05 --- /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; +} |