// RUN: %clang_cc1 -fsyntax-only -verify -std=c++17 %s
// Ensure that we don't crash if errors are suppressed by an error limit.
// RUN: not %clang_cc1 -fsyntax-only -std=c++17 -ferror-limit=1 %s
error e; // expected-error {{unknown type name}}
;
void