diff options
| author | Stefan Kangas | 2022-02-10 06:56:22 +0100 |
|---|---|---|
| committer | Stefan Kangas | 2022-02-10 06:56:22 +0100 |
| commit | 35bf8d4a025baa8da2affa3cff5a0f426889096f (patch) | |
| tree | 5c84b2bd73e8602e21ddbca39d4417f66e1e11a8 /test/src | |
| parent | aad91285c370dd5e50e585b453b9a843113be15f (diff) | |
| parent | 69e82968d7c2b64710f6f6b79597ac98c82449e7 (diff) | |
| download | emacs-35bf8d4a025baa8da2affa3cff5a0f426889096f.tar.gz emacs-35bf8d4a025baa8da2affa3cff5a0f426889096f.zip | |
Merge from origin/emacs-28
69e82968d7 Fix integer arithmetic miss-compilation (bug#53451)
31af9bca99 Mark flymake as compatible with emacs-26.1
Diffstat (limited to 'test/src')
| -rw-r--r-- | test/src/comp-tests.el | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/test/src/comp-tests.el b/test/src/comp-tests.el index 89cb3d153d8..212d9e999f2 100644 --- a/test/src/comp-tests.el +++ b/test/src/comp-tests.el | |||
| @@ -1369,7 +1369,14 @@ Return a list of results." | |||
| 1369 | (when (eql x 1.0) | 1369 | (when (eql x 1.0) |
| 1370 | (error "")) | 1370 | (error "")) |
| 1371 | x) | 1371 | x) |
| 1372 | t))) | 1372 | t) |
| 1373 | |||
| 1374 | ;; 74 | ||
| 1375 | ((defun comp-tests-ret-type-spec-f (x) | ||
| 1376 | (if (eq x 0) | ||
| 1377 | (error "") | ||
| 1378 | (1+ x))) | ||
| 1379 | number))) | ||
| 1373 | 1380 | ||
| 1374 | (defun comp-tests-define-type-spec-test (number x) | 1381 | (defun comp-tests-define-type-spec-test (number x) |
| 1375 | `(comp-deftest ,(intern (format "ret-type-spec-%d" number)) () | 1382 | `(comp-deftest ,(intern (format "ret-type-spec-%d" number)) () |