Daniel Dunbar | 7ec3daf | 2009-03-24 03:07:05 +0000 | [diff] [blame] | 1 | // RUN: clang -ccc-echo -o %t %s 2> %t.log && |
Daniel Dunbar | 622bfc8 | 2009-03-18 22:49:41 +0000 | [diff] [blame] | 2 | |
| 3 | // Make sure we used clang. |
Daniel Dunbar | d7d5f02 | 2009-03-24 02:24:46 +0000 | [diff] [blame] | 4 | // RUN: grep 'clang-cc" .*hello.c' %t.log && |
Daniel Dunbar | 622bfc8 | 2009-03-18 22:49:41 +0000 | [diff] [blame] | 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 | } |