Skip to content

Commit 37b74a0

Browse files
committed
Add test for preprocessor
Takes #line into account
1 parent db02592 commit 37b74a0

2 files changed

Lines changed: 11 additions & 0 deletions

File tree

tests/functional/line_asm.bi

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
ASM
2+
NOP
3+
#line 25
4+
END ASM
5+
#warning this should be line 26
6+

tests/functional/line_asm.out

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#line 1 "line_asm.bi"
2+
ASM
3+
NOP
4+
END ASM
5+

0 commit comments

Comments
 (0)