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 | e45bb9ad5e7467bc6ba39f2963aa58734aaba98c (patch) | |
tree | e9c1e4e08c05edc78b50f3c0c82d946b63c57cc9 /test/CFrontend | |
parent | 8392772727ed9105c92fe4514d53dab74c333edc (diff) | |
download | external_llvm-e45bb9ad5e7467bc6ba39f2963aa58734aaba98c.zip external_llvm-e45bb9ad5e7467bc6ba39f2963aa58734aaba98c.tar.gz external_llvm-e45bb9ad5e7467bc6ba39f2963aa58734aaba98c.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; +} |