aboutsummaryrefslogtreecommitdiff
path: root/libphobos/testsuite/libphobos.betterc/test20613.d
blob: b03e2d17b62901aed066381f6b17e835e4d1732b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/*******************************************/
// https://issues.dlang.org/show_bug.cgi?id=20613

extern(C) int main() @nogc nothrow pure
{
    auto s = "F";
    final switch(s)
    {
    case "A": break;
    case "B": break;
    case "C": break;
    case "D": break;
    case "E": break;
    case "F": break;
    case "G": break;
    }
    return 0;
}