mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 13:10:12 +03:00
15 lines
209 B
D
15 lines
209 B
D
/* TEST_OUTPUT:
|
|
---
|
|
fail_compilation/b15909.d(12): Error: duplicate `case 'a'` in `switch` statement
|
|
---
|
|
*/
|
|
|
|
void main()
|
|
{
|
|
switch ('a')
|
|
{
|
|
case 'a':
|
|
case 'a':
|
|
break;
|
|
}
|
|
}
|