2009-11-08 09:45:36 +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-11-08 09:45:36 +08:00
|
|
|
// RUN: grep 'clang-cc" .*hello.c' %t.log
|
2009-03-19 06:49:41 +08:00
|
|
|
|
2009-11-08 09:45:36 +08:00
|
|
|
// RUN: %t > %t.out
|
2009-03-19 06:49:41 +08:00
|
|
|
// RUN: grep "I'm a little driver, short and stout." %t.out
|
|
|
|
|
2009-11-03 15:49:31 +08:00
|
|
|
// FIXME: We don't have a usable assembler on Windows, so we can't build real
|
|
|
|
// apps yet.
|
|
|
|
// XFAIL: win32
|
|
|
|
|
2009-03-19 06:49:41 +08:00
|
|
|
#include <stdio.h>
|
|
|
|
|
|
|
|
int main() {
|
|
|
|
printf("I'm a little driver, short and stout.");
|
|
|
|
return 0;
|
|
|
|
}
|