/* Verify colorization of the output of -fdiagnostics-show-template-tree, and within the %H and %I format codes. Doing so requires a plugin; see the comments in the plugin for the rationale. */ // { dg-options "-fdiagnostics-show-template-tree -fdiagnostics-color=always" } template struct vector {}; template struct map {}; void fn_1(vector); void fn_2(map); void test () { fn_1 (vector ()); /* { dg-begin-multiline-output "" } could not convert 'vector()' from 'vector<double>' to 'vector<int>' vector< [double != int]> { dg-end-multiline-output "" } */ fn_2 (map()); /* { dg-begin-multiline-output "" } could not convert 'map()' from 'map<[...],double>' to 'map<[...],int>' map< [...], [double != int]> { dg-end-multiline-output "" } */ }