blob: f26e231b068517378e9d4cd97c7bff98446bcdd5 [file] [log] [blame]
/*
TEST_OUTPUT:
---
fail_compilation/diag4540.d(11): Error: `x` must be of integral or string type, it is a `float`
---
*/
void main()
{
float x;
switch (x)
{
default:
}
}