Changes in directory llvm/test/CFrontend:

2007-02-16-VoidPtrDiff.c added (r1.1)
---
Log message:

new testcase


---
Diffs of the changes:  (+5 -0)

 2007-02-16-VoidPtrDiff.c |    5 +++++
 1 files changed, 5 insertions(+)


Index: llvm/test/CFrontend/2007-02-16-VoidPtrDiff.c
diff -c /dev/null llvm/test/CFrontend/2007-02-16-VoidPtrDiff.c:1.1
*** /dev/null   Fri Feb 16 19:44:31 2007
--- llvm/test/CFrontend/2007-02-16-VoidPtrDiff.c        Fri Feb 16 19:44:21 2007
***************
*** 0 ****
--- 1,5 ----
+ // RUN: %llvmgcc %s -S -o - -emit-llvm
+ 
+ void foo(void *ptr, int test) {
+   (ptr - ((void *) test + 0x2000));
+ }



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to