()
| 150 | |
| 151 | |
| 152 | def test_pass_unique_ptr_cref(): |
| 153 | obj = m.atyp("ctor_arg") |
| 154 | assert re.match("ctor_arg(_MvCtor)*_MvCtor", m.get_mtxt(obj)) |
| 155 | assert re.match("ctor_arg(_MvCtor)*_MvCtor", m.pass_unique_ptr_cref(obj)) |
| 156 | assert re.match("ctor_arg(_MvCtor)*_MvCtor", m.get_mtxt(obj)) |
| 157 | |
| 158 | |
| 159 | def test_rtrn_unique_ptr_cref(): |