[llvm] [llvm-lit][test] Precommit tests for lit's built-in cat command (PR #101530)

via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 2 14:37:51 PDT 2024


================
@@ -0,0 +1,49 @@
+# C Program to generate all ASCII characters in allchars.txt
+# #include <stdio.h>
+# int main() {
+#     FILE *fptr = fopen("allchars.txt", "w");
+#     if(fptr == NULL) {
+#         return 1;
+#     }
+#     for(int i = 0; i < 256; i++) {
+#         fprintf(fptr, "%c", i);
+#     }
+#     fclose(fptr);
+#     return 0;
+# }
+
----------------
connieyzhu wrote:

done

https://github.com/llvm/llvm-project/pull/101530


More information about the llvm-commits mailing list