Adding in sample project tree.
[oota-llvm.git] / projects / sample / tools / sample / main.c
diff --git a/projects/sample/tools/sample/main.c b/projects/sample/tools/sample/main.c
new file mode 100644 (file)
index 0000000..6607335
--- /dev/null
@@ -0,0 +1,14 @@
+#include <stdio.h>
+#include <stdlib.h>
+
+#include <unistd.h>
+
+#include "sample.h"
+
+int
+main (int argc, char ** argv)
+{
+       printf ("%d\n", compute_sample (5));
+       exit (0);
+}
+