[lldb] Add 'CHECK' to class-type-nullptr-deref.s test.

This test previously relied on just segfaulting or not. This commit adds
a CHECK statement to the test.

Differential Revision: https://reviews.llvm.org/D148151
This commit is contained in:
Caroline Tice 2023-04-12 11:13:25 -07:00
parent 62bf6c2e10
commit be58b42a75

View File

@ -2,7 +2,9 @@
# null), LLDB does not try to dereference the null pointer.
# RUN: llvm-mc --triple x86_64-pc-linux %s --filetype=obj -o %t
# RUN: %lldb %t -o "target variable x" -o exit 2>&1
# RUN: %lldb %t -o "target variable x" -o exit 2>&1 | FileCheck %s
# CHECK: 'Unable to determine byte size.'
# This tests a fix for a crash. If things are working we don't get a segfault.