llvm-mirror/test/LLVMC/opt-test.c
2008-11-25 21:38:12 +00:00

13 lines
171 B
C

/*
* Check that the -opt switch works.
* RUN: llvmc %s -opt -o %t
* RUN: ./%t | grep hello
*/
#include <stdio.h>
int main() {
printf("hello\n");
return 0;
}