Files
clang-p2996/cross-project-tests/debuginfo-tests/dexter-tests/ctor.cpp
Stephen Tozer 323270451d Reapply "[Dexter] Remove builder from Dexter"
Fixes a test which was broken on the green dragon buildbot, and further
failures on the SIE buildbot.

This reverts commit 8df9eff90f.
2023-09-05 13:59:53 +01:00

38 lines
489 B
C++

// REQUIRES: lldb
// UNSUPPORTED: system-windows
//
// RUN: %clang -O0 -glldb %s -o %t
// RUN: %dexter --fail-lt 1.0 -w \
// RUN: --binary %t --debugger 'lldb' -- %s
class A {
public:
A() : zero(0), data(42) { // DexLabel('ctor_start')
}
private:
int zero;
int data;
};
int main() {
A a;
return 0;
}
/*
DexExpectProgramState({
'frames': [
{
'location': {
'lineno': ref('ctor_start')
},
'watches': {
'*this': {'is_irretrievable': False}
}
}
]
})
*/