summaryrefslogtreecommitdiffstats
path: root/libacc/tests/data/hello.c
diff options
context:
space:
mode:
authorJack Palevich <jackpal@google.com>2009-05-22 12:06:27 -0700
committerJack Palevich <jackpal@google.com>2009-05-22 12:09:55 -0700
commit1cdef20774b2cd30f1a509227c86845337f63f11 (patch)
tree366741a46471159514da46cc4d3186bad53774d9 /libacc/tests/data/hello.c
parentad3f0d74b4d0c52a819b0b4b242f26bd4ce07bc9 (diff)
downloadsystem_core-1cdef20774b2cd30f1a509227c86845337f63f11.zip
system_core-1cdef20774b2cd30f1a509227c86845337f63f11.tar.gz
system_core-1cdef20774b2cd30f1a509227c86845337f63f11.tar.bz2
Convert libacc into a shared library.
Document internal CodeGenerator interface Move license to a separate license file. Define a public API for calling libacc. Update the "acc" test program to use the public API. Move "main.cpp" and test scripts into the tests subdirectory. Move test data from tests to tests/data Remove stale test data.
Diffstat (limited to 'libacc/tests/data/hello.c')
-rw-r--r--libacc/tests/data/hello.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libacc/tests/data/hello.c b/libacc/tests/data/hello.c
new file mode 100644
index 0000000..585ce6c
--- /dev/null
+++ b/libacc/tests/data/hello.c
@@ -0,0 +1,3 @@
+main(a,b) {
+ printf("Hello, world\n");
+}