diff options
author | Alp Toker <alp@nuanti.com> | 2014-05-05 06:22:21 +0000 |
---|---|---|
committer | Alp Toker <alp@nuanti.com> | 2014-05-05 06:22:21 +0000 |
commit | 1d487617f20ab9df65ab60d6cf9431ef288312ab (patch) | |
tree | 90fd08d529deb9fdb458648f5520a2f51bb357fe | |
parent | e22ca466811a619d0d8c30ddd2eeffc2d735d8d9 (diff) | |
download | bcm5719-llvm-1d487617f20ab9df65ab60d6cf9431ef288312ab.tar.gz bcm5719-llvm-1d487617f20ab9df65ab60d6cf9431ef288312ab.zip |
Add speculative clang-interpreter test
Let's see how far this gets on the build servers. The application requires
native JIT and uses the C standard library, but hopefully we can get this
tested on at least some configurations.
Taking a lead from the clang-format tests, we'll just expect the executable to
get picked up from the build output path for now.
llvm-svn: 207950
-rw-r--r-- | clang/test/Misc/interpreter.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/clang/test/Misc/interpreter.c b/clang/test/Misc/interpreter.c new file mode 100644 index 00000000000..42e1645b7c6 --- /dev/null +++ b/clang/test/Misc/interpreter.c @@ -0,0 +1,10 @@ +// RUN: clang-interpreter %s | FileCheck %s +// REQUIRES: native, examples + +int printf(const char *, ...); + +int main() { + // CHECK: {{Hello world!}} + printf("Hello world!\n"); + return 0; +} |