Euphoria Ticket #951: switch duplicate case not detected (and crash)

Test case:

include std/dll.e 
 
switch 1 do 
case C_HANDLE then 
case C_POINTER, C_HANDLE then 
end switch 

Results: A machine-level exception occurred during execution of this statement (signal 11)

Note: the duplicate case for C_HANDLE was not detected by the parser.

Details

Type: Bug Report Severity: Normal Category: Front End
Assigned To: unknown Status: New Reported Release: 4.1.0 64-bit Linux
Fixed in SVN #: View VCS: none Milestone:

Search



Quick Links

User menu

Not signed in.

Misc Menu