llvm-mirror/test/LLVMC/hello.c
Mikhail Glushenkov 40b652c238 First small tests for llvmc2.
llvm-svn: 50734
2008-05-06 17:24:54 +00:00

13 lines
170 B
C

/*
* 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;
}