[llvm-commits] CVS: llvm/test/CFrontend/2007-02-04-EmptyStruct.c

Chris Lattner sabre at nondot.org
Sun Feb 4 15:55:20 PST 2007



Changes in directory llvm/test/CFrontend:

2007-02-04-EmptyStruct.c added (r1.1)
---
Log message:

testcase for PR1175: http://llvm.org/PR1175 


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

 2007-02-04-EmptyStruct.c |    9 +++++++++
 1 files changed, 9 insertions(+)


Index: llvm/test/CFrontend/2007-02-04-EmptyStruct.c
diff -c /dev/null llvm/test/CFrontend/2007-02-04-EmptyStruct.c:1.1
*** /dev/null	Sun Feb  4 17:55:14 2007
--- llvm/test/CFrontend/2007-02-04-EmptyStruct.c	Sun Feb  4 17:55:04 2007
***************
*** 0 ****
--- 1,9 ----
+ // RUN: %llvmgcc %s -O3 -S -o - -emit-llvm
+ // PR1175
+ 
+ struct empty { };
+ 
+ void foo(struct empty *p) {
+    p++;
+ }
+ 






More information about the llvm-commits mailing list