1// UNSUPPORTED: system-linux, system-windows 2// 3// RUN: %clangxx_host %p/Inputs/objc-cast.cpp -g -o %t 4// RUN: %lldb %t \ 5// RUN: -o "b main" -o run -o "expression --language objc -- *(id)0x1" \ 6// RUN: 2>&1 | FileCheck %s 7 8// CHECK: (lldb) expression --language objc -- *(id)0x1 9// CHECK: error:{{.*}}Couldn't apply expression side effects : Couldn't dematerialize a result variable: couldn't read its memory 10