[llvm-commits] CVS: llvm/test/Regression/CFrontend/2003-10-02-UnionLValueError.c

Chris Lattner lattner at cs.uiuc.edu
Thu Oct 2 13:27:01 PDT 2003


Changes in directory llvm/test/Regression/CFrontend:

2003-10-02-UnionLValueError.c added (r1.1)

---
Log message:

Checkin new file, reduced by Brian


---
Diffs of the changes:

Index: llvm/test/Regression/CFrontend/2003-10-02-UnionLValueError.c
diff -c /dev/null llvm/test/Regression/CFrontend/2003-10-02-UnionLValueError.c:1.1
*** /dev/null	Thu Oct  2 13:26:21 2003
--- llvm/test/Regression/CFrontend/2003-10-02-UnionLValueError.c	Thu Oct  2 13:26:11 2003
***************
*** 0 ****
--- 1,9 ----
+ union U{
+   int i[8];
+   char s[80];
+ };
+ 
+ void format_message(char *buffer, union U *u) {
+   sprintf(buffer, u->s);
+ }
+ 





More information about the llvm-commits mailing list