commit | ed205690138be718b7d721123d9e68f8ad6a38e4 | [log] [tgz] |
---|---|---|
author | Mikhail Glushenkov <foldr@codedgers.com> | Tue May 06 17:24:54 2008 +0000 |
committer | Mikhail Glushenkov <foldr@codedgers.com> | Tue May 06 17:24:54 2008 +0000 |
tree | 82435098c9e7f24cd3f82cd65ffc35473c1c2977 | |
parent | d379d1612b27e6bf27d6538d48e7315219c6ecfc [diff] [blame] |
First small tests for llvmc2. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50734 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/LLVMC/hello.c b/test/LLVMC/hello.c new file mode 100644 index 0000000..bf917bc --- /dev/null +++ b/test/LLVMC/hello.c
@@ -0,0 +1,12 @@ +/* + * Check that we can compile helloworld + * RUN: llvmc2 %s -o %t + * RUN: ./%t | grep hello + */ + +#include <stdio.h> + +int main() { + printf("hello\n"); + return 0; +}