[llvm-commits] CVS: llvm/test/Regression/CFrontend/2003-11-27-ConstructorCast.c
Chris Lattner
lattner at cs.uiuc.edu
Thu Nov 27 14:48:01 PST 2003
Changes in directory llvm/test/Regression/CFrontend:
2003-11-27-ConstructorCast.c added (r1.1)
---
Log message:
testcase for PR159
---
Diffs of the changes: (+12 -0)
Index: llvm/test/Regression/CFrontend/2003-11-27-ConstructorCast.c
diff -c /dev/null llvm/test/Regression/CFrontend/2003-11-27-ConstructorCast.c:1.1
*** /dev/null Thu Nov 27 14:47:26 2003
--- llvm/test/Regression/CFrontend/2003-11-27-ConstructorCast.c Thu Nov 27 14:47:16 2003
***************
*** 0 ****
--- 1,12 ----
+ struct i387_soft_struct {
+ long cwd;
+ };
+ union i387_union {
+ struct i387_soft_struct soft;
+ };
+ struct thread_struct {
+ union i387_union i387;
+ };
+ void _init_task_union(void) {
+ struct thread_struct thread = (struct thread_struct) { {{0}} };
+ }
More information about the llvm-commits
mailing list