/* 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: invalid operands to binary + (have 'S' {aka 'struct s'} and 'T' {aka 'struct t'}) { dg-end-multiline-output "" } */ /* { dg-begin-multiline-output "" } return callee_4a () + callee_4b (); ~~~~~~~~~~~~ ^ ~~~~~~~~~~~~ | | | T {aka struct t} S {aka struct s} { dg-end-multiline-output "" } */ /* { dg-prune-output "In function" } */ /* { dg-prune-output "bad-binary-ops-highlight-colors.c" } */ }