view lldb/test/Shell/Expr/TestStringLiteralExpr.test @ 266:00f31e85ec16 default tip

Added tag current for changeset 31d058e83c98
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sat, 14 Oct 2023 10:13:55 +0900
parents c4bab56944e8
children
line wrap: on
line source

# UNSUPPORTED: system-windows
# RUN: echo "int main() { return 0; }" | %clang_host -x c -o %t -
# RUN: %lldb -s %s %t | FileCheck %s

# Make sure that lldb doesn't crash when evaluating expressions with string literals
b main
run
expr "hello there"
expr printf("hello there")

# CHECK: (const char[12]) $0 = "hello there"
# CHECK: (int) $1 = 11