11 lines
256 B
C++
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=[])
|
|
}
|