1 // REQUIRES: host-supports-jit
2 // UNSUPPORTED: system-aix
4 // RUN: cat %s | clang-repl | FileCheck %s
5 // RUN: cat %s | clang-repl -Xcc -O2 | FileCheck %s
7 struct box
{ box() = default; box(int *const data
) : data
{data
} {} int *data
{}; };
9 box
foo() { box ret
; ret
= new int{}; return ret
; }
11 extern "C" int printf(const char *, ...);