Author: alp
Date: Mon May  5 01:22:21 2014
New Revision: 207950

URL: http://llvm.org/viewvc/llvm-project?rev=207950&view=rev
Log:
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.

Added:
    cfe/trunk/test/Misc/interpreter.c

Added: cfe/trunk/test/Misc/interpreter.c
URL: 
http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Misc/interpreter.c?rev=207950&view=auto
==============================================================================
--- cfe/trunk/test/Misc/interpreter.c (added)
+++ cfe/trunk/test/Misc/interpreter.c Mon May  5 01:22:21 2014
@@ -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;
+}


_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to