mirror of
https://github.com/cc65/cc65.git
synced 2025-02-28 20:29:46 +00:00
Testcases for case
This commit is contained in:
parent
3a5fee75a3
commit
aa64234707
10
test/asm/listing/050-case-off-2.s
Normal file
10
test/asm/listing/050-case-off-2.s
Normal file
@ -0,0 +1,10 @@
|
||||
; 2022-06-20 Spiro Trikaliotis
|
||||
|
||||
.case -
|
||||
|
||||
CamelCase:
|
||||
lda #0
|
||||
|
||||
Test:
|
||||
beq CamelCase
|
||||
bne camelcase
|
10
test/asm/listing/050-case-off-3.s
Normal file
10
test/asm/listing/050-case-off-3.s
Normal file
@ -0,0 +1,10 @@
|
||||
; 2022-06-20 Spiro Trikaliotis
|
||||
|
||||
.case off
|
||||
|
||||
CamelCase:
|
||||
lda #0
|
||||
|
||||
Test:
|
||||
beq CamelCase
|
||||
bne camelcase
|
10
test/asm/listing/050-case-off-4.s
Normal file
10
test/asm/listing/050-case-off-4.s
Normal file
@ -0,0 +1,10 @@
|
||||
; 2022-06-20 Spiro Trikaliotis
|
||||
|
||||
.CASE OFF
|
||||
|
||||
CamelCase:
|
||||
lda #0
|
||||
|
||||
Test:
|
||||
beq CamelCase
|
||||
bne camelcase
|
10
test/asm/listing/050-case-on-1.s
Normal file
10
test/asm/listing/050-case-on-1.s
Normal file
@ -0,0 +1,10 @@
|
||||
; 2022-06-20 Spiro Trikaliotis
|
||||
|
||||
|
||||
|
||||
CamelCase:
|
||||
lda #0
|
||||
|
||||
Test:
|
||||
beq CamelCase
|
||||
bne camelcase
|
10
test/asm/listing/050-case-on-2.s
Normal file
10
test/asm/listing/050-case-on-2.s
Normal file
@ -0,0 +1,10 @@
|
||||
; 2022-06-20 Spiro Trikaliotis
|
||||
|
||||
.case +
|
||||
|
||||
CamelCase:
|
||||
lda #0
|
||||
|
||||
Test:
|
||||
beq CamelCase
|
||||
bne camelcase
|
10
test/asm/listing/050-case-on-3.s
Normal file
10
test/asm/listing/050-case-on-3.s
Normal file
@ -0,0 +1,10 @@
|
||||
; 2022-06-20 Spiro Trikaliotis
|
||||
|
||||
.case on
|
||||
|
||||
CamelCase:
|
||||
lda #0
|
||||
|
||||
Test:
|
||||
beq CamelCase
|
||||
bne camelcase
|
10
test/asm/listing/050-case-on-4.s
Normal file
10
test/asm/listing/050-case-on-4.s
Normal file
@ -0,0 +1,10 @@
|
||||
; 2022-06-20 Spiro Trikaliotis
|
||||
|
||||
.CASE ON
|
||||
|
||||
CamelCase:
|
||||
lda #0
|
||||
|
||||
Test:
|
||||
beq CamelCase
|
||||
bne camelcase
|
10
test/asm/listing/050-case-on-5.s
Normal file
10
test/asm/listing/050-case-on-5.s
Normal file
@ -0,0 +1,10 @@
|
||||
; 2022-06-20 Spiro Trikaliotis
|
||||
|
||||
.case
|
||||
|
||||
CamelCase:
|
||||
lda #0
|
||||
|
||||
Test:
|
||||
beq CamelCase
|
||||
bne camelcase
|
0
test/asm/listing/control/050-case-on-1.err
Normal file
0
test/asm/listing/control/050-case-on-1.err
Normal file
0
test/asm/listing/control/050-case-on-1.no-ld65
Normal file
0
test/asm/listing/control/050-case-on-1.no-ld65
Normal file
0
test/asm/listing/control/050-case-on-2.err
Normal file
0
test/asm/listing/control/050-case-on-2.err
Normal file
0
test/asm/listing/control/050-case-on-2.no-ld65
Normal file
0
test/asm/listing/control/050-case-on-2.no-ld65
Normal file
0
test/asm/listing/control/050-case-on-3.err
Normal file
0
test/asm/listing/control/050-case-on-3.err
Normal file
0
test/asm/listing/control/050-case-on-3.no-ld65
Normal file
0
test/asm/listing/control/050-case-on-3.no-ld65
Normal file
0
test/asm/listing/control/050-case-on-4.err
Normal file
0
test/asm/listing/control/050-case-on-4.err
Normal file
0
test/asm/listing/control/050-case-on-4.no-ld65
Normal file
0
test/asm/listing/control/050-case-on-4.no-ld65
Normal file
0
test/asm/listing/control/050-case-on-5.err
Normal file
0
test/asm/listing/control/050-case-on-5.err
Normal file
0
test/asm/listing/control/050-case-on-5.no-ld65
Normal file
0
test/asm/listing/control/050-case-on-5.no-ld65
Normal file
15
test/asm/listing/ref/050-case-off-2.list-ref
Normal file
15
test/asm/listing/ref/050-case-off-2.list-ref
Normal file
@ -0,0 +1,15 @@
|
||||
ca65 Vx.xx - Git XXXXXXXXX
|
||||
Main file : 050-case-off-2.s
|
||||
Current file: 050-case-off-2.s
|
||||
|
||||
000000r 1 ; 2022-06-20 Spiro Trikaliotis
|
||||
000000r 1
|
||||
000000r 1 .case -
|
||||
000000r 1
|
||||
000000r 1 CamelCase:
|
||||
000000r 1 A9 00 lda #0
|
||||
000002r 1
|
||||
000002r 1 Test:
|
||||
000002r 1 F0 FC beq CamelCase
|
||||
000004r 1 D0 FA bne camelcase
|
||||
000004r 1
|
15
test/asm/listing/ref/050-case-off-3.list-ref
Normal file
15
test/asm/listing/ref/050-case-off-3.list-ref
Normal file
@ -0,0 +1,15 @@
|
||||
ca65 Vx.xx - Git XXXXXXXXX
|
||||
Main file : 050-case-off-3.s
|
||||
Current file: 050-case-off-3.s
|
||||
|
||||
000000r 1 ; 2022-06-20 Spiro Trikaliotis
|
||||
000000r 1
|
||||
000000r 1 .case off
|
||||
000000r 1
|
||||
000000r 1 CamelCase:
|
||||
000000r 1 A9 00 lda #0
|
||||
000002r 1
|
||||
000002r 1 Test:
|
||||
000002r 1 F0 FC beq CamelCase
|
||||
000004r 1 D0 FA bne camelcase
|
||||
000004r 1
|
15
test/asm/listing/ref/050-case-off-4.list-ref
Normal file
15
test/asm/listing/ref/050-case-off-4.list-ref
Normal file
@ -0,0 +1,15 @@
|
||||
ca65 Vx.xx - Git XXXXXXXXX
|
||||
Main file : 050-case-off-4.s
|
||||
Current file: 050-case-off-4.s
|
||||
|
||||
000000r 1 ; 2022-06-20 Spiro Trikaliotis
|
||||
000000r 1
|
||||
000000r 1 .CASE OFF
|
||||
000000r 1
|
||||
000000r 1 CamelCase:
|
||||
000000r 1 A9 00 lda #0
|
||||
000002r 1
|
||||
000002r 1 Test:
|
||||
000002r 1 F0 FC beq CamelCase
|
||||
000004r 1 D0 FA bne camelcase
|
||||
000004r 1
|
1
test/asm/listing/ref/050-case-on-1.err-ref
Normal file
1
test/asm/listing/ref/050-case-on-1.err-ref
Normal file
@ -0,0 +1 @@
|
||||
050-case-on-1.s:10: Error: Symbol 'camelcase' is undefined
|
1
test/asm/listing/ref/050-case-on-2.err-ref
Normal file
1
test/asm/listing/ref/050-case-on-2.err-ref
Normal file
@ -0,0 +1 @@
|
||||
050-case-on-2.s:10: Error: Symbol 'camelcase' is undefined
|
1
test/asm/listing/ref/050-case-on-3.err-ref
Normal file
1
test/asm/listing/ref/050-case-on-3.err-ref
Normal file
@ -0,0 +1 @@
|
||||
050-case-on-3.s:10: Error: Symbol 'camelcase' is undefined
|
1
test/asm/listing/ref/050-case-on-4.err-ref
Normal file
1
test/asm/listing/ref/050-case-on-4.err-ref
Normal file
@ -0,0 +1 @@
|
||||
050-case-on-4.s:10: Error: Symbol 'camelcase' is undefined
|
1
test/asm/listing/ref/050-case-on-5.err-ref
Normal file
1
test/asm/listing/ref/050-case-on-5.err-ref
Normal file
@ -0,0 +1 @@
|
||||
050-case-on-5.s:10: Error: Symbol 'camelcase' is undefined
|
Loading…
x
Reference in New Issue
Block a user