Skip to content

Commit

Permalink
Add test
Browse files Browse the repository at this point in the history
  • Loading branch information
osa1 committed Sep 20, 2024
1 parent b63ec19 commit 6171fe9
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions test/lit/source-map.wast
Original file line number Diff line number Diff line change
Expand Up @@ -110,4 +110,17 @@
;;@ src.cpp:3
(nop)
)

;; CHECK: (func $5_segment_mappings
;; CHECK-NEXT: ;;@ /tmp/src.cpp:1:1:a
;; CHECK-NEXT: (nop)
;; CHECK-NEXT: ;;@ ../src.cpp:2:2:b
;; CHECK-NEXT: (nop)
;; CHECK-NEXT: )
(func $5_segment_mappings
;;@ /tmp/src.cpp:1:1:a
(nop)
;;@ ../src.cpp:2:2:b
(nop)
)
)

0 comments on commit 6171fe9

Please sign in to comment.