Daniel Dunbar | 622bfc8 | 2009-03-18 22:49:41 +0000 | [diff] [blame^] | 1 | // RUN: clang-driver -ccc-echo -o %t %s &> %t.log && |
2 | |||||
3 | // Make sure we used clang. | ||||
4 | // RUN: grep 'clang" .*hello.c' %t.log && | ||||
5 | |||||
6 | // RUN: %t > %t.out && | ||||
7 | // RUN: grep "I'm a little driver, short and stout." %t.out | ||||
8 | |||||
9 | #include <stdio.h> | ||||
10 | |||||
11 | int main() { | ||||
12 | printf("I'm a little driver, short and stout."); | ||||
13 | return 0; | ||||
14 | } |