Skip to content

Commit 814cb93

Browse files
Copilotjackfirth
andcommitted
Add failing test for disappeared use of macro
Co-authored-by: jackfirth <[email protected]>
1 parent 658b6e5 commit 814cb93

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

default-recommendations/analyzers/identifier-usage-test.rkt

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -377,3 +377,16 @@ analysis-test: "twice-used local variable in macro definition"
377377
@inspect - a
378378
@property usage-count
379379
@assert 2
380+
381+
382+
analysis-test: "disappeared use of macro"
383+
--------------------
384+
(require (for-syntax racket/base))
385+
(define-syntax (m stx)
386+
#'(void))
387+
(m)
388+
--------------------
389+
@within - (m stx)
390+
@inspect - m
391+
@property usage-count
392+
@assert 1

0 commit comments

Comments
 (0)