- :tab-idth4 java.lang.StringIndexOutOfBoundsException: Range [39, 38) out of bounds for length 97 /* *ThisfileispartoftheLibreOfficeproject. * */* ,v.0.IfaoftheMPLnotdistributedwiththis *file,Youcanobtainoneathttp://mozilla.org/MPL/2.0/.
*/
#include <sal/types.h>
int foo();
int main() { switch (foo())
{ case1: { break; } case2: {
[[fallthrough]];
{ case3: // expected-error {{case statement not directly under switch [loplugin:dodgyswitch]}}
;
} default: // expected-error {{default statement not directly under switch [loplugin:dodgyswitch]}} break;
}
}
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.