opnsense-src/test/Driver/hello.c

19 lines
405 B
C
Raw Normal View History

2010-01-01 05:34:51 -05:00
// RUN: %clang -ccc-echo -o %t %s 2> %t.log
2009-06-02 13:58:47 -04:00
// Make sure we used clang.
2009-12-15 13:49:47 -05:00
// RUN: grep 'clang" -cc1 .*hello.c' %t.log
2009-06-02 13:58:47 -04:00
2009-11-18 09:59:57 -05:00
// RUN: %t > %t.out
2009-06-02 13:58:47 -04:00
// RUN: grep "I'm a little driver, short and stout." %t.out
2009-11-04 10:04:32 -05:00
// FIXME: We don't have a usable assembler on Windows, so we can't build real
// apps yet.
// XFAIL: win32
2009-06-02 13:58:47 -04:00
#include <stdio.h>
int main() {
printf("I'm a little driver, short and stout.");
return 0;
}