/* Verify that colorization affects both text within diagnostic messages and underlined ranges of quoted source, and that the types we use match up between them. Also implicitly verify that -fdiagnostics-show-highlight-colors is on by default. */ /* { dg-options "-fdiagnostics-show-caret -fdiagnostics-color=always" } */ struct s {}; struct t {}; typedef struct s S; typedef struct t T; extern S callee_4a (void); extern T callee_4b (void); int test_4 (void) { return callee_4a () + callee_4b (); /* { dg-begin-multiline-output "" }  error: no match for 'operator+' (operand types are 'S' {aka 's'} and 'T' {aka 't'}) { dg-end-multiline-output "" } */ /* { dg-begin-multiline-output "" } return callee_4a () + callee_4b (); ~~~~~~~~~~~~ ^ ~~~~~~~~~~~~ | | S {aka s} T {aka t} { dg-end-multiline-output "" } */ /* { dg-prune-output "In function" } */ /* { dg-prune-output "bad-binary-ops-highlight-colors.C" } */ }