TypeScript/tests/baselines/reference/switchBreakStatements.types
2015-04-15 16:44:20 -07:00

127 lines
1.6 KiB
Plaintext

=== tests/cases/conformance/statements/breakStatements/switchBreakStatements.ts ===
switch ('') {
>'' : string
case 'a':
>'a' : string
break;
}
ONE:
>ONE : any
switch ('') {
>'' : string
case 'a':
>'a' : string
break ONE;
>ONE : any
}
TWO:
>TWO : any
THREE:
>THREE : any
switch ('') {
>'' : string
case 'a':
>'a' : string
break THREE;
>THREE : any
}
FOUR:
>FOUR : any
switch ('') {
>'' : string
case 'a':
>'a' : string
FIVE:
>FIVE : any
switch ('') {
>'' : string
case 'a':
>'a' : string
break FOUR;
>FOUR : any
}
}
switch ('') {
>'' : string
case 'a':
>'a' : string
SIX:
>SIX : any
switch ('') {
>'' : string
case 'a':
>'a' : string
break SIX;
>SIX : any
}
}
SEVEN:
>SEVEN : any
switch ('') {
>'' : string
case 'a':
>'a' : string
switch ('') {
>'' : string
case 'a':
>'a' : string
switch ('') {
>'' : string
case 'a':
>'a' : string
break SEVEN;
>SEVEN : any
EIGHT:
>EIGHT : any
switch ('') {
>'' : string
case 'a':
>'a' : string
var fn = function () { }
>fn : () => void
>function () { } : () => void
break EIGHT;
>EIGHT : any
}
}
}
}