llvm-6502/test/LLVMC/opt-test.c

13 lines
172 B
C
Raw Normal View History

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