From 8a2b012ba75a63b1f7519dedb30ff97b23ec4be2 Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Sun, 13 Sep 2009 01:39:08 +0000 Subject: Sink llvm-gcc dependent tests into distinct subdirs. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81661 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/LLVMC/ObjC/hello.m | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 test/LLVMC/ObjC/hello.m (limited to 'test/LLVMC/ObjC/hello.m') diff --git a/test/LLVMC/ObjC/hello.m b/test/LLVMC/ObjC/hello.m new file mode 100644 index 0000000..1cda9c3 --- /dev/null +++ b/test/LLVMC/ObjC/hello.m @@ -0,0 +1,12 @@ +/* + * Check that we can compile helloworld + * RUN: llvmc %s -o %t + * RUN: ./%t | grep hello + */ + +#include + +int main() { + printf("hello\n"); + return 0; +} -- cgit v1.1