Add simple test case to make sure driver can generate executables.
 - Hopefully Chris can pardon one executable test.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67251 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Driver/hello.c b/test/Driver/hello.c
new file mode 100644
index 0000000..8844ede
--- /dev/null
+++ b/test/Driver/hello.c
@@ -0,0 +1,14 @@
+// RUN: clang-driver -ccc-echo -o %t %s &> %t.log &&
+
+// Make sure we used clang.
+// RUN: grep 'clang" .*hello.c' %t.log &&
+
+// 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;
+}