[llvm-commits] [llvm] r42986 - /llvm/trunk/test/CFrontend/2007-10-15-VoidPtr.c

Devang Patel dpatel at apple.com
Mon Oct 15 08:41:07 PDT 2007


Author: dpatel
Date: Mon Oct 15 10:41:07 2007
New Revision: 42986

URL: http://llvm.org/viewvc/llvm-project?rev=42986&view=rev
Log:
New test.

Added:
    llvm/trunk/test/CFrontend/2007-10-15-VoidPtr.c

Added: llvm/trunk/test/CFrontend/2007-10-15-VoidPtr.c
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CFrontend/2007-10-15-VoidPtr.c?rev=42986&view=auto

==============================================================================
--- llvm/trunk/test/CFrontend/2007-10-15-VoidPtr.c (added)
+++ llvm/trunk/test/CFrontend/2007-10-15-VoidPtr.c Mon Oct 15 10:41:07 2007
@@ -0,0 +1,5 @@
+// RUN: llvm-gcc -S %s -o /dev/null
+void bork(void **data) {
+  (*(unsigned short *) (&(data[37])[927]) = 0);
+}
+





More information about the llvm-commits mailing list