7924def203ab8e3d904e5f2be23d7171fff48df0
[oota-llvm.git] / test / LLVMC / C / opt-test.c
1 /*
2  * Check that the -opt switch works.
3  * RUN: llvmc %s -opt -o %t
4  * RUN: %abs_tmp | grep hello
5  * XFAIL: vg_leak
6  */
7
8 #include <stdio.h>
9
10 int main() {
11     printf("hello\n");
12     return 0;
13 }