diff options
author | Bill Wendling <isanbard@gmail.com> | 2007-10-26 23:43:35 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2007-10-26 23:43:35 +0000 |
commit | 4e5ec75810ebd9e01bcf53f29edc535b05645891 (patch) | |
tree | a7af23cacd4b5f173797cb790073af1fe1270b12 /test/CFrontend/unaligned-memcpy.c | |
parent | 635b8f8e08fdfa561a819ab96edc31411bd10c3f (diff) | |
download | external_llvm-4e5ec75810ebd9e01bcf53f29edc535b05645891.zip external_llvm-4e5ec75810ebd9e01bcf53f29edc535b05645891.tar.gz external_llvm-4e5ec75810ebd9e01bcf53f29edc535b05645891.tar.bz2 |
Test to make sure that if we have an unaligned memcpy, it will still compile.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43412 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CFrontend/unaligned-memcpy.c')
-rw-r--r-- | test/CFrontend/unaligned-memcpy.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/CFrontend/unaligned-memcpy.c b/test/CFrontend/unaligned-memcpy.c new file mode 100644 index 0000000..e5d810f --- /dev/null +++ b/test/CFrontend/unaligned-memcpy.c @@ -0,0 +1,5 @@ +// RUN: %llvmgcc %s -S -emit-llvm -o - | llvm-as | llc + +void bork() { + char Qux[33] = {0}; +} |