<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - FileCheck reports wrong directive on failure"
   href="https://bugs.llvm.org/show_bug.cgi?id=45662">45662</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>FileCheck reports wrong directive on failure
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Test Suite
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Windows NT
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>lit
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>paul_robinson@playstation.sony.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>daniel@zuster.org, llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>F:\scratch\Filecheck-bug>type test.txt
100
200
# A:     {{1}}00
# B-NOT: {{2}}00

F:\scratch\Filecheck-bug>d:\upstream\nbuild\bin\FileCheck.exe test.txt
--input-file test.txt --check-prefixes=A,B
test.txt:4:10: error: A-NOT: excluded string found in input
# B-NOT: {{2}}00
         ^
test.txt:2:1: note: found here
200
^~~


Clearly the mismatch should report B-NOT rather than A-NOT.

This is with HEAD at de94715b64ba048728cb1c4ba88a5ac51066d61b
(last Friday).</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>