2011-03-16 16:51:46 +03:00
|
|
|
// RUN: %clang -ccc-echo -o %t.exe %s 2> %t.log
|
2009-03-19 01:49:41 +03:00
|
|
|
|
|
|
|
// Make sure we used clang.
|
2011-03-16 16:51:46 +03:00
|
|
|
// RUN: grep 'clang\(-[0-9.]\+\)\?\(\.[Ee][Xx][Ee]\)\?" -cc1 .*hello.c' %t.log
|
2009-03-19 01:49:41 +03:00
|
|
|
|
2011-03-16 16:51:46 +03:00
|
|
|
// RUN: %t.exe > %t.out
|
2009-03-19 01:49:41 +03:00
|
|
|
// RUN: grep "I'm a little driver, short and stout." %t.out
|
|
|
|
|
2009-11-03 10:49:31 +03:00
|
|
|
// FIXME: We don't have a usable assembler on Windows, so we can't build real
|
|
|
|
// apps yet.
|
|
|
|
// XFAIL: win32
|
|
|
|
|
2009-03-19 01:49:41 +03:00
|
|
|
#include <stdio.h>
|
|
|
|
|
|
|
|
int main() {
|
|
|
|
printf("I'm a little driver, short and stout.");
|
|
|
|
return 0;
|
|
|
|
}
|