blob: 8aa87f74437306c477cd99af52459a02a6168cdb [file] [log] [blame]
// { dg-do compile { target c++11 } }
// { dg-options "-w" }
void f(int i)
{
switch (i)
if constexpr (false) // { dg-message "enters 'constexpr if'" }
{
case 42:; // { dg-error "jump to case label" }
}
}