llvm-project/debuginfo-tests/dexter-tests/ctor.cpp

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

37 lines
482 B
C++
Raw Normal View History

// REQUIRES: lldb
// UNSUPPORTED: system-windows
//
// RUN: %dexter --fail-lt 1.0 -w \
// RUN: --builder 'clang' --debugger 'lldb' --cflags "-O0 -glldb" -- %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}
}
}
]
})
*/