llvm-6502/test/LLVMC/opt-test.c
Mikhail Glushenkov 74a0c28fba Fix the -opt switch and add a test case for it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51784 91177308-0d34-0410-b5e6-96231b3b80d8
2008-05-30 19:56:27 +00:00

13 lines
172 B
C

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