Test to make sure that if we have an unaligned memcpy, it will still compile.
authorBill Wendling <isanbard@gmail.com>
Fri, 26 Oct 2007 23:43:35 +0000 (23:43 +0000)
committerBill Wendling <isanbard@gmail.com>
Fri, 26 Oct 2007 23:43:35 +0000 (23:43 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43412 91177308-0d34-0410-b5e6-96231b3b80d8

test/CFrontend/unaligned-memcpy.c [new file with mode: 0644]

diff --git a/test/CFrontend/unaligned-memcpy.c b/test/CFrontend/unaligned-memcpy.c
new file mode 100644 (file)
index 0000000..e5d810f
--- /dev/null
@@ -0,0 +1,5 @@
+// RUN: %llvmgcc %s -S -emit-llvm -o - | llvm-as | llc
+
+void bork() {
+  char Qux[33] = {0};
+}