Files
clang-p2996/lldb/test/API/commands/expression/ignore-artificial-constructors/main.cpp
2020-08-17 13:14:57 +02:00

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=[])
}