[llvm-commits] CVS: llvm/test/Programs/SingleSource/UnitTests/2003-05-07-VarArgs.c
Chris Lattner
lattner at cs.uiuc.edu
Fri May 30 15:12:02 PDT 2003
Changes in directory llvm/test/Programs/SingleSource/UnitTests:
2003-05-07-VarArgs.c updated: 1.6 -> 1.7
---
Log message:
Test for va_arg support for aggregates
---
Diffs of the changes:
Index: llvm/test/Programs/SingleSource/UnitTests/2003-05-07-VarArgs.c
diff -u llvm/test/Programs/SingleSource/UnitTests/2003-05-07-VarArgs.c:1.6 llvm/test/Programs/SingleSource/UnitTests/2003-05-07-VarArgs.c:1.7
--- llvm/test/Programs/SingleSource/UnitTests/2003-05-07-VarArgs.c:1.6 Tue May 27 09:09:04 2003
+++ llvm/test/Programs/SingleSource/UnitTests/2003-05-07-VarArgs.c Fri May 30 15:11:06 2003
@@ -47,17 +47,17 @@
printf("char %c\n", c);
break;
case 'D':
- /* dw = va_arg(ap, DWordS);
+ dw = va_arg(ap, DWordS);
printf("DWord { %d, %c }\n", dw.i, dw.c);
- */ break;
+ break;
case 'Q':
- /* qw = va_arg(ap, QuadWordS);
+ qw = va_arg(ap, QuadWordS);
printf("QuadWord { %d, %f }\n", qw.i, qw.d);
- */ break;
+ break;
case 'L':
- /* ls = va_arg(ap, LargeS);
+ ls = va_arg(ap, LargeS);
printf("LargeS { %d, %f, 0x%p, %d }\n", ls.i, ls.d, ls.ptr, ls.j);
- */ break;
+ break;
}
va_end(ap);
}
More information about the llvm-commits
mailing list