mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-09-24 22:02:23 +01:00
`abstract fn` was exported to C++ as a plain virtual function rather than a pure virtual one, so the class wasn't abstract and could be instantiated from C++. Abstract functions no longer get a thunk since there is no definition to call. The tests are prefixed with `fail_` since an abstract class still errors on `Core.Destroy` regardless.