llvm-project/lldb/test/API/commands/expression/ignore-artificial-constructors/main.cpp

11 lines
256 B
C++

struct Foo {
// Triggers that we emit an artificial constructor for Foo.
virtual ~Foo() = default;
};
int main() {
Foo f;
// Try to construct foo in our expression.
return 0; //%self.expect_expr("Foo()", result_type="Foo", result_children=[])
}