https://llvm.org/bugs/show_bug.cgi?id=27231

            Bug ID: 27231
           Summary: Assertion `Entry != DelayedTypos.end() && "Failed to
                    get the state for a TypoExpr!"' failed.
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Keywords: crash-on-invalid
          Severity: normal
          Priority: P
         Component: Frontend
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified

$ cat test.c
void test(int x, int y) {
  test(unknown, unknown | unknown);
}

$ clang -cc1 test.c
test.c:2:17: error: use of undeclared identifier 'unknown'
  test(unknown, unknown | unknown);
                ^
test.c:2:27: error: use of undeclared identifier 'unknown'
  test(unknown, unknown | unknown);
                          ^
clang: ../tools/clang/lib/Sema/SemaLookup.cpp:5032: const Sema::TypoExprState
&clang::Sema::getTypoExprState(clang::TypoExpr *) const: Assertion `Entry !=
DelayedTypos.end() && "Failed to get the state for a TypoExpr!"' failed.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to