// RUN: %clang -ccc-echo -o %t %s 2> %t.log

// Make sure we used clang.
// RUN: grep 'clang" -cc1 .*hello.c' %t.log

// RUN: %t > %t.out
// RUN: grep "I'm a little driver, short and stout." %t.out

// FIXME: We don't have a usable assembler on Windows, so we can't build real
// apps yet.
// XFAIL: win32

#include <stdio.h>

int main() {
  printf("I'm a little driver, short and stout.");
  return 0;
}

// RUN: %clang -ccc-echo -o %t %s 2> %t.log

// Make sure we used clang.
// RUN: grep 'clang\(-[0-9.]\+\)\?" -cc1 .*hello.c' %t.log

// RUN: %t > %t.out
// RUN: grep "I'm a little driver, short and stout." %t.out

// FIXME: We don't have a usable assembler on Windows, so we can't build real
// apps yet.
// XFAIL: win32

#include <stdio.h>

int main() {
  printf("I'm a little driver, short and stout.");
  return 0;
}

Fix this test case for CMake builds after r126502, which sneakily changed the actual executable name to clang-<version>.
Fix this test case for CMake builds after r126502, which sneakily  changed the actual executable name to clang-<version>.


git-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@126560 91177308-0d34-0410-b5e6-96231b3b80d8
