[llvm-commits] CVS: llvm-test/SingleSource/UnitTests/Integer/integer_all_onesp.c integer_all_onesp.reference_output

Zhou Sheng zhousheng00 at gmail.com
Sun May 27 19:35:13 PDT 2007



Changes in directory llvm-test/SingleSource/UnitTests/Integer:

integer_all_onesp.c added (r1.1)
integer_all_onesp.reference_output added (r1.1)
---
Log message:

Add a new test case.


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

 integer_all_onesp.c                |    9 +++++++++
 integer_all_onesp.reference_output |    1 +
 2 files changed, 10 insertions(+)


Index: llvm-test/SingleSource/UnitTests/Integer/integer_all_onesp.c
diff -c /dev/null llvm-test/SingleSource/UnitTests/Integer/integer_all_onesp.c:1.1
*** /dev/null	Sun May 27 21:34:54 2007
--- llvm-test/SingleSource/UnitTests/Integer/integer_all_onesp.c	Sun May 27 21:34:44 2007
***************
*** 0 ****
--- 1,9 ----
+ #include "bits.h"
+ 
+ int main(int argc, char **argv) {
+   typedef uint256 BitType;
+ 
+   BitType X = rand() % bitwidthof(BitType);
+ 
+   return 0;
+ }


Index: llvm-test/SingleSource/UnitTests/Integer/integer_all_onesp.reference_output
diff -c /dev/null llvm-test/SingleSource/UnitTests/Integer/integer_all_onesp.reference_output:1.1
*** /dev/null	Sun May 27 21:35:13 2007
--- llvm-test/SingleSource/UnitTests/Integer/integer_all_onesp.reference_output	Sun May 27 21:34:44 2007
***************
*** 0 ****
--- 1 ----
+ exit 0






More information about the llvm-commits mailing list