[llvm-commits] CVS: llvm/test/Programs/SingleSource/UnitTests/2003-05-07-VarArgs.c
Chris Lattner
lattner at cs.uiuc.edu
Tue May 27 09:10:02 PDT 2003
Changes in directory llvm/test/Programs/SingleSource/UnitTests:
2003-05-07-VarArgs.c updated: 1.5 -> 1.6
---
Log message:
Revert the last revision which is stopping the nightly tester. :(
---
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.5 llvm/test/Programs/SingleSource/UnitTests/2003-05-07-VarArgs.c:1.6
--- llvm/test/Programs/SingleSource/UnitTests/2003-05-07-VarArgs.c:1.5 Sun May 25 11:30:15 2003
+++ llvm/test/Programs/SingleSource/UnitTests/2003-05-07-VarArgs.c Tue May 27 09:09:04 2003
@@ -1,7 +1,7 @@
#include <stdio.h>
#include <stdarg.h>
-/* 8 bytes if alignon(int) is 4. */
+/* 5 bytes. */
typedef struct DWordS_struct { int i; char c; } DWordS;
/* 12 bytes if d is 4-byte aligned; 16 bytes if d is 8-byte aligned. */
@@ -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