xref: /llvm-project/lldb/test/API/commands/expression/ignore-artificial-constructors/main.cpp (revision 42b9a683523628bfbb4f7447c0ca9607f3eee83f)
1 struct Foo {
2   // Triggers that we emit an artificial constructor for Foo.
3   virtual ~Foo() = default;
4 };
5 
main()6 int main() {
7   Foo f;
8   // Try to construct foo in our expression.
9   return 0; //%self.expect_expr("Foo()", result_type="Foo", result_children=[])
10 }
11