1 | struct Foo { |
---|---|
2 | // Triggers that we emit an artificial constructor for Foo. |
3 | virtual ~Foo() = default; |
4 | }; |
5 | |
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 |