summaryrefslogtreecommitdiffstats
path: root/llvm/test/LLVMC/clang_hello.c
diff options
context:
space:
mode:
authorMikhail Glushenkov <foldr@codedgers.com>2008-12-09 14:41:27 +0000
committerMikhail Glushenkov <foldr@codedgers.com>2008-12-09 14:41:27 +0000
commit5752117a5bb42af7af8a9cd0c2a206fb8496c042 (patch)
tree2b59d272f2cdea32b3bbd4cae7079266e6e8f916 /llvm/test/LLVMC/clang_hello.c
parente5cd77150e4c89f1a9475f5936674a245158a804 (diff)
downloadbcm5719-llvm-5752117a5bb42af7af8a9cd0c2a206fb8496c042.tar.gz
bcm5719-llvm-5752117a5bb42af7af8a9cd0c2a206fb8496c042.zip
Add some rudimentary tests for .
llvm-svn: 60766
Diffstat (limited to 'llvm/test/LLVMC/clang_hello.c')
-rw-r--r--llvm/test/LLVMC/clang_hello.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/llvm/test/LLVMC/clang_hello.c b/llvm/test/LLVMC/clang_hello.c
new file mode 100644
index 00000000000..b72ec5d7226
--- /dev/null
+++ b/llvm/test/LLVMC/clang_hello.c
@@ -0,0 +1,11 @@
+/*
+ * Test basic functionality of llvmc -clang
+ *
+ * RUN: llvmc -clang %s -o %t
+ * RUN: ./%t | grep {Hello Clang}
+ */
+
+int main() {
+ printf("Hello Clang world!\n");
+ return 0;
+}
OpenPOWER on IntegriCloud