brintos

brintos / llvm-project-archived public Read only

0
0
Text · 256 B · 16ddeb1 Raw
11 lines · cpp
1struct Foo {2  // Triggers that we emit an artificial constructor for Foo.3  virtual ~Foo() = default;4};5 6int 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