On Tue, 22 Feb 2022 at 11:43, Krishna Narayanan via Gcc-help < gcc-help@xxxxxxxxxxx> wrote: > Hello, > I had been working on a testcase,in which there had to be a warning on > a specific line. On giving the /* { dg warning "text" } */ to that > That should be dg-warning, did you get it right in the test? > line ,the test outcome is FAIL(test for warnings) even though the > warning was expected. > Can you help me out with this,why did this happen? > Thanks, > Krishna Narayanan. >