diff options
Diffstat (limited to 'debuginfo-tests/dexter-tests/ctor.cpp')
-rw-r--r-- | debuginfo-tests/dexter-tests/ctor.cpp | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/debuginfo-tests/dexter-tests/ctor.cpp b/debuginfo-tests/dexter-tests/ctor.cpp new file mode 100644 index 00000000000..77195d7d79e --- /dev/null +++ b/debuginfo-tests/dexter-tests/ctor.cpp @@ -0,0 +1,35 @@ +// REQUIRES: system-linux, lldb +// +// 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': 'ctor_start' + }, + 'watches': { + '*this': {'is_irretrievable': False} + } + } + ] +}) +*/ + |