summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Kernighan <bwk>1974-01-20 01:02:03 -0400
committerBrian Kernighan <bwk>1974-01-20 01:02:03 -0400
commit08f7a3c47e2671c6a0ff57b217cb82a5afb8a3c6 (patch)
tree340c7334c4eeba0eba24cd07118e88eff011c294
parentc07790e6f2fe78c7760efde1ad9dc21670b10ce2 (diff)
downloadgolang-08f7a3c47e2671c6a0ff57b217cb82a5afb8a3c6.tar.gz
convert to C
R=dmr DELTA=6 (0 added, 3 deleted, 3 changed)
-rw-r--r--src/pkg/debug/macho/testdata/hello.b7
-rw-r--r--src/pkg/debug/macho/testdata/hello.c3
2 files changed, 3 insertions, 7 deletions
diff --git a/src/pkg/debug/macho/testdata/hello.b b/src/pkg/debug/macho/testdata/hello.b
deleted file mode 100644
index 05c414042..000000000
--- a/src/pkg/debug/macho/testdata/hello.b
+++ /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
index 000000000..2264d04fb
--- /dev/null
+++ b/src/pkg/debug/macho/testdata/hello.c
@@ -0,0 +1,3 @@
+main() {
+ printf("hello, world");
+}