Mikhail Glushenkov | 74a0c28 | 2008-05-30 19:56:27 +0000 | [diff] [blame] | 1 | /* |
2 | * Check that the -opt switch works. | ||||
3 | * RUN: llvmc2 %s -opt -o %t | ||||
4 | * RUN: ./%t | grep hello | ||||
5 | */ | ||||
6 | |||||
7 | #include <stdio.h> | ||||
8 | |||||
9 | int main() { | ||||
10 | printf("hello\n"); | ||||
11 | return 0; | ||||
12 | } |