diff options
Diffstat (limited to 'clang/test/Misc/interpreter.c')
-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; +} |