• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // RUN: %clang -ccc-echo -o %t.exe %s 2> %t.log
2 
3 // Make sure we used clang.
4 // RUN: grep 'clang\(-[0-9.]\+\)\?\(\.[Ee][Xx][Ee]\)\?" -cc1 .*hello.c' %t.log
5 
6 // RUN: %t.exe > %t.out
7 // RUN: grep "I'm a little driver, short and stout." %t.out
8 
9 // FIXME: We don't have a usable assembler on Windows, so we can't build real
10 // apps yet.
11 // XFAIL: win32
12 
13 #include <stdio.h>
14 
main()15 int main() {
16   printf("I'm a little driver, short and stout.");
17   return 0;
18 }
19