15 lines · plain
1// RUN: mlir-opt %s -test-lower-to-llvm | \2// RUN: mlir-runner -e entry -entry-point-result=void \3// RUN: -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils | \4// RUN: FileCheck %s5 6/// This tests printing (multiple) string literals works.7 8func.func @entry() {9 // CHECK: Hello, World!10 vector.print str "Hello, World!\n"11 // CHECK-NEXT: Bye!12 vector.print str "Bye!\n"13 return14}15