Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1978)

Unified Diff: wasm-tests/hello-puts.c

Issue 1876413002: Subzero. WASM. Additional progress. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Code review feedback and merging with master Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « wasm-tests/hello-putchar.c ('k') | wasm-tests/hello-write.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: wasm-tests/hello-puts.c
diff --git a/wasm-tests/hello-puts.c b/wasm-tests/hello-puts.c
new file mode 100644
index 0000000000000000000000000000000000000000..fa5dc6a6a932d901b800f983e1f0b49e4920f077
--- /dev/null
+++ b/wasm-tests/hello-puts.c
@@ -0,0 +1,10 @@
+#include <stdio.h>
+#include <string.h>
+#include <unistd.h>
+
+int main(int argc, const char **argv) {
+ fputs("Hello,", stdout);
+ fputs(" ", stdout);
+ fputs("world\n", stdout);
+ return 0;
+}
« no previous file with comments | « wasm-tests/hello-putchar.c ('k') | wasm-tests/hello-write.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698