]> git.eshelyaron.com Git - emacs.git/commitdiff
add comp-test-silly-frame2 to test funcs
authorAndrea Corallo <akrl@sdf.org>
Sat, 5 Oct 2019 14:05:37 +0000 (16:05 +0200)
committerAndrea Corallo <akrl@sdf.org>
Wed, 1 Jan 2020 10:37:56 +0000 (11:37 +0100)
test/src/comp-test-funcs.el

index 3d8d3437bda1dd84340f7a7b6ac74f538addc565..540170ea966ae94ae76359dab5f00c7cc12d048f 100644 (file)
 
 ;; Non tested functions that proved just to be difficult to compile.
 
-(defun comp-test-callee (_ _) t)
-(defun comp-test-silly-frame (x)
+(defun comp-test-callee (_ __) t)
+(defun comp-test-silly-frame1 (x)
   (cl-case x
     (0 (comp-test-callee
         (pcase comp-tests-var1
           (2 2))
         3))))
 
+(defun comp-test-silly-frame2 (token)
+  (while c
+    (cl-case c
+      (?< 1)
+      (?> 2))))
+
 ;;; comp-test-funcs.el ends here