(root)/
gcc-13.2.0/
gcc/
testsuite/
rust/
compile/
diagnostic_underline.rs
// { dg-additional-options "-quiet" }

/* { dg-options "-fdiagnostics-show-caret" } */


fn barbarbar() {}

const fn foo() { 
    barbarbar();// { dg-error "only functions marked as 'const' are allowed to be called from constant contexts" }
/* { dg-begin-multiline-output "" }
     barbarbar();//
     ^~~~~~~~~
{ dg-end-multiline-output "" } */
}