Skip to content

Commit

Permalink
Add speculative clang-interpreter test
Browse files Browse the repository at this point in the history
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
  • Loading branch information
atoker committed May 5, 2014
1 parent e22ca46 commit 1d48761
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions 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;
}

0 comments on commit 1d48761

Please sign in to comment.