blob: 064e1ace4664df6b2080b0369900548fb6da9cde [file] [log] [blame]
// { dg-options "-fdiagnostics-show-caret" }
/* Verify that we highlight *which* string is too long. */
char test[3][4] = { "ok", "too long", "ok" }; // { dg-error "initializer-string for 'char \\\[4]' is too long" }
/* { dg-begin-multiline-output "" }
char test[3][4] = { "ok", "too long", "ok" };
^~~~~~~~~~
{ dg-end-multiline-output "" } */