From 318d3ae39776c30bd6c4438fd240b8f34a89046b Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Fri, 26 Oct 2007 23:43:35 +0000 Subject: [PATCH] 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 --- test/CFrontend/unaligned-memcpy.c | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 test/CFrontend/unaligned-memcpy.c diff --git a/test/CFrontend/unaligned-memcpy.c b/test/CFrontend/unaligned-memcpy.c new file mode 100644 index 00000000000..e5d810f3ace --- /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}; +}