commit | 4e5ec75810ebd9e01bcf53f29edc535b05645891 | [log] [tgz] |
---|---|---|
author | Bill Wendling <isanbard@gmail.com> | Fri Oct 26 23:43:35 2007 +0000 |
committer | Bill Wendling <isanbard@gmail.com> | Fri Oct 26 23:43:35 2007 +0000 |
tree | a7af23cacd4b5f173797cb790073af1fe1270b12 | |
parent | 635b8f8e08fdfa561a819ab96edc31411bd10c3f [diff] [blame] |
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
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}; +}