mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 21:21:48 +03:00
29 lines
380 B
D
29 lines
380 B
D
/*
|
|
TEST_OUTPUT:
|
|
---
|
|
fail_compilation/diag12640.d(14): Error: undefined identifier `asdf`
|
|
fail_compilation/diag12640.d(23): Error: undefined identifier `asdf`
|
|
---
|
|
*/
|
|
|
|
void main()
|
|
{
|
|
switch (1)
|
|
{
|
|
case 0:
|
|
asdf;
|
|
break;
|
|
|
|
default:
|
|
}
|
|
|
|
switch (1)
|
|
{
|
|
default:
|
|
asdf;
|
|
break;
|
|
|
|
case 0:
|
|
}
|
|
|
|
}
|