aboutsummaryrefslogtreecommitdiff
path: root/lldb/test/Shell/Expr/TestObjCIDCast.test
blob: 19ca404643c1d9bb7346a0cbe55f529eb27bed73 (plain)
1
2
3
4
5
6
7
8
9
// UNSUPPORTED: system-linux, system-windows
//
// RUN: %clangxx_host %p/Inputs/objc-cast.cpp -g -o %t
// RUN: %lldb %t \
// RUN:   -o "b main" -o run -o "expression --language objc -- *(id)0x1" \
// RUN:   2>&1 | FileCheck %s

// CHECK: (lldb) expression --language objc -- *(id)0x1
// CHECK: error:{{.*}}Couldn't apply expression side effects : Couldn't dematerialize a result variable: couldn't read its memory