<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </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 --- - Assertion `DelayedTypos.empty() && "Uncorrected typos!"' failed."
   href="https://llvm.org/bugs/show_bug.cgi?id=26598">26598</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Assertion `DelayedTypos.empty() && "Uncorrected typos!"' failed.
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>clang
          </td>
        </tr>

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

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

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

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

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

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

        <tr>
          <th>Component</th>
          <td>Frontend
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>rtrieu@google.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>$ cat typo.cpp
int main() {
  (((str) ? str : str))
}
$ clang typo.cpp
typo.cpp:2:6: error: use of undeclared identifier 'str'
  (((str) ? str : str))
     ^
typo.cpp:2:19: error: use of undeclared identifier 'str'
  (((str) ? str : str))
                  ^
2 errors generated.
$ clang -cc1 typo.cpp
typo.cpp:2:6: error: use of undeclared identifier 'str'
  (((str) ? str : str))
     ^
typo.cpp:2:19: error: use of undeclared identifier 'str'
  (((str) ? str : str))
                  ^
clang: ../tools/clang/lib/Sema/Sema.cpp:295: clang::Sema::~Sema(): Assertion
`DelayedTypos.empty() && "Uncorrected typos!"' failed.
#0 0x00000000018b2378 llvm::sys::PrintStackTrace(llvm::raw_ostream&)
(/usr/local/bin/clang-3.5+0x18b2378)
#1 0x00000000018b2ae7 SignalHandler(int) (/usr/local/bin/clang-3.5+0x18b2ae7)
#2 0x00007f56ea2df330 __restore_rt
(/lib/x86_64-linux-gnu/libpthread.so.0+0x10330)
#3 0x00007f56e980bcb7 gsignal
/tmp/tmp.Htw1L27e9P/signal/../nptl/sysdeps/unix/sysv/linux/raise.c:56:0
#4 0x00007f56e980f0a8 abort /tmp/tmp.Htw1L27e9P/stdlib/abort.c:91:0
#5 0x00007f56e9804b76 __assert_fail_base
/tmp/tmp.Htw1L27e9P/assert/assert.c:92:0
#6 0x00007f56e9804c22 (/lib/x86_64-linux-gnu/libc.so.6+0x2fc22)
#7 0x00000000026788dc clang::Sema::~Sema() (/usr/local/bin/clang-3.5+0x26788dc)
#8 0x0000000001d82986 clang::CompilerInstance::setSema(clang::Sema*)
(/usr/local/bin/clang-3.5+0x1d82986)
#9 0x0000000001dbde99 clang::FrontendAction::EndSourceFile()
(/usr/local/bin/clang-3.5+0x1dbde99)
#10 0x0000000001d87eb9
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&)
(/usr/local/bin/clang-3.5+0x1d87eb9)
#11 0x0000000001e5572c
clang::ExecuteCompilerInvocation(clang::CompilerInstance*)
(/usr/local/bin/clang-3.5+0x1e5572c)
#12 0x000000000072e038 cc1_main(llvm::ArrayRef<char const*>, char const*,
void*) (/usr/local/bin/clang-3.5+0x72e038)
#13 0x000000000072ca9f main (/usr/local/bin/clang-3.5+0x72ca9f)
#14 0x00007f56e97f6ec5 __libc_start_main
/tmp/tmp.Htw1L27e9P/csu/libc-start.c:321:0
#15 0x000000000072988e _start (/usr/local/bin/clang-3.5+0x72988e)
Stack dump:
0.    Program arguments: clang -cc1 typo.cpp 
Aborted (core dumped)</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>