]> Cypherpunks repositories - gostls13.git/commitdiff
convert to C
authorBrian Kernighan <bwk>
Sun, 20 Jan 1974 05:02:03 +0000 (01:02 -0400)
committerBrian Kernighan <bwk>
Sun, 20 Jan 1974 05:02:03 +0000 (01:02 -0400)
R=dmr
DELTA=6  (0 added, 3 deleted, 3 changed)

src/pkg/debug/macho/testdata/hello.b [deleted file]
src/pkg/debug/macho/testdata/hello.c [new file with mode: 0644]

diff --git a/src/pkg/debug/macho/testdata/hello.b b/src/pkg/debug/macho/testdata/hello.b
deleted file mode 100644 (file)
index 05c4140..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-main( ) {
-       extrn a, b, c;
-       putchar(a); putchar(b); putchar(c); putchar('!*n');
-}
-a 'hell';
-b 'o, w';
-c 'orld';
diff --git a/src/pkg/debug/macho/testdata/hello.c b/src/pkg/debug/macho/testdata/hello.c
new file mode 100644 (file)
index 0000000..2264d04
--- /dev/null
@@ -0,0 +1,3 @@
+main() {
+       printf("hello, world");
+}