2009-03-24 11:07:05 +08:00
|
|
|
// RUN: clang -ccc-echo -o %t %s 2> %t.log &&
|
2009-03-19 06:49:41 +08:00
|
|
|
|
|
|
|
// Make sure we used clang.
|
2009-03-24 10:24:46 +08:00
|
|
|
// RUN: grep 'clang-cc" .*hello.c' %t.log &&
|
2009-03-19 06:49:41 +08:00
|
|
|
|
|
|
|
// RUN: %t > %t.out &&
|
|
|
|
// RUN: grep "I'm a little driver, short and stout." %t.out
|
|
|
|
|
|
|
|
#include <stdio.h>
|
|
|
|
|
|
|
|
int main() {
|
|
|
|
printf("I'm a little driver, short and stout.");
|
|
|
|
return 0;
|
|
|
|
}
|