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 | 318d3ae39776c30bd6c4438fd240b8f34a89046b (patch) | |
tree | a7af23cacd4b5f173797cb790073af1fe1270b12 | |
parent | 168a66b21e71e4c3301c9d4152d4c683a4bef889 (diff) |
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
-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 0000000000..e5d810f3ac --- /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}; +} |