aboutsummaryrefslogtreecommitdiffstats
path: root/lib/malloc
diff options
context:
space:
mode:
authorVibhav Pant2023-02-02 17:54:52 +0530
committerVibhav Pant2023-02-02 17:54:52 +0530
commitdfee4b1464f0b8ce4907f23b9eb91ed4d83a0e9f (patch)
tree74f3582f37c5a809bfabce6ddfe546923a73ab90 /lib/malloc
parent5eda8d1abbed40e808264496658ced4f003834eb (diff)
downloademacs-dfee4b1464f0b8ce4907f23b9eb91ed4d83a0e9f.tar.gz
emacs-dfee4b1464f0b8ce4907f23b9eb91ed4d83a0e9f.zip
Add tests for testing immutability of native comp-ed Lisp literals.
* src/comp-test-funcs.el (comp-test-literal-list, comp-test-literal-vector, comp-test-literal-record, comp-test-literal-string): New variables. (comp-test-modify-const-list): New function. * test/src/comp-tests.el (comp-tests-static-lisp-consts): New test, try to destructively modify statically compiled self evaluating Lisp data and make sure it triggers a error with the correct string and object.
Diffstat (limited to 'lib/malloc')
0 files changed, 0 insertions, 0 deletions