[RISCV] Simplify usage of SplatPat_simm5_plus1. NFC (#125340)
[llvm-project.git] / clang / test / Interpreter / multiline.cpp
blob0f5ef48417f133d6b18399e6712633c09fa8730b
1 // REQUIRES: host-supports-jit
2 // UNSUPPORTED: system-aix
3 // RUN: cat %s | clang-repl -Xcc -Xclang -Xcc -verify | FileCheck %s
5 // expected-no-diagnostics
7 extern "C" int printf(const char*,...);
8 int i = \
9 12;
11 printf("i=%d\n", i);
12 // CHECK: i=12
14 void f(int x) \
15 { \
16 printf("x=\
17 %d", x); \
19 f(i);
20 // CHECK: x=12
22 #if 0 \
23 #error "Can't be!" \
24 #endif