1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-25 13:29:41 +00:00

Testcases for case

This commit is contained in:
Spiro Trikaliotis 2022-06-20 23:03:12 +02:00
parent 3a5fee75a3
commit aa64234707
26 changed files with 130 additions and 0 deletions

View File

@ -0,0 +1,10 @@
; 2022-06-20 Spiro Trikaliotis
.case -
CamelCase:
lda #0
Test:
beq CamelCase
bne camelcase

View File

@ -0,0 +1,10 @@
; 2022-06-20 Spiro Trikaliotis
.case off
CamelCase:
lda #0
Test:
beq CamelCase
bne camelcase

View File

@ -0,0 +1,10 @@
; 2022-06-20 Spiro Trikaliotis
.CASE OFF
CamelCase:
lda #0
Test:
beq CamelCase
bne camelcase

View File

@ -0,0 +1,10 @@
; 2022-06-20 Spiro Trikaliotis
CamelCase:
lda #0
Test:
beq CamelCase
bne camelcase

View File

@ -0,0 +1,10 @@
; 2022-06-20 Spiro Trikaliotis
.case +
CamelCase:
lda #0
Test:
beq CamelCase
bne camelcase

View File

@ -0,0 +1,10 @@
; 2022-06-20 Spiro Trikaliotis
.case on
CamelCase:
lda #0
Test:
beq CamelCase
bne camelcase

View File

@ -0,0 +1,10 @@
; 2022-06-20 Spiro Trikaliotis
.CASE ON
CamelCase:
lda #0
Test:
beq CamelCase
bne camelcase

View File

@ -0,0 +1,10 @@
; 2022-06-20 Spiro Trikaliotis
.case
CamelCase:
lda #0
Test:
beq CamelCase
bne camelcase

View 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

View 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

View 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

View File

@ -0,0 +1 @@
050-case-on-1.s:10: Error: Symbol 'camelcase' is undefined

View File

@ -0,0 +1 @@
050-case-on-2.s:10: Error: Symbol 'camelcase' is undefined

View File

@ -0,0 +1 @@
050-case-on-3.s:10: Error: Symbol 'camelcase' is undefined

View File

@ -0,0 +1 @@
050-case-on-4.s:10: Error: Symbol 'camelcase' is undefined

View File

@ -0,0 +1 @@
050-case-on-5.s:10: Error: Symbol 'camelcase' is undefined