1 // UNSUPPORTED: system-aix
2 // RUN: cat %s | clang-repl | FileCheck %s
3 extern "C" int printf(const char *, ...);
8 auto r1
= printf("x1 = %d\n", x1
);
10 auto r2
= printf("x2 = %d\n", x2
);
11 // CHECK-NEXT: x2 = 24
13 int foo() { return 1; }
15 int foo() { return 2; }
16 auto r3
= printf("foo() = %d\n", foo());
17 // CHECK-NEXT: foo() = 2
19 inline int bar() { return 42;}