diff options
Diffstat (limited to 'clang/tools/ccc/test/ccc/hello.c')
-rw-r--r-- | clang/tools/ccc/test/ccc/hello.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/clang/tools/ccc/test/ccc/hello.c b/clang/tools/ccc/test/ccc/hello.c new file mode 100644 index 00000000000..96f59f6747c --- /dev/null +++ b/clang/tools/ccc/test/ccc/hello.c @@ -0,0 +1,7 @@ +// RUN: xcc %s -o %t && +// RUN: %t | grep "Hello, World" + +int main() { + printf("Hello, World!\n"); + return 0; +} |