• Philipp Stephani's avatar
    Backport: Add module test for edge case. · bde5f5f8
    Philipp Stephani authored
    This backports commit 6355a3ec from master.  Since the bug isn’t
    present in emacs-27, just backport the test case.
    
    * test/data/emacs-module/mod-test.c
    (Fmod_test_invalid_store_copy): New test module function.
    (emacs_module_init): Export it.
    
    * test/src/emacs-module-tests.el
    (module--test-assertions--load-non-live-object-with-global-copy):
    New unit test.
    bde5f5f8
mod-test.c 17.2 KB