| 579 | |
| 580 | TEST_CASE("pusher/constness", "Make sure more types can handle being const and junk") { |
| 581 | struct Foo { |
| 582 | Foo(const sol::function& f) : _f(f) { |
| 583 | } |
| 584 | const sol::function& _f; |
| 585 | |
| 586 | const sol::function& f() const { |
| 587 | return _f; |
| 588 | } |
| 589 | }; |
| 590 | |
| 591 | sol::state lua; |
| 592 |