diff options
Diffstat (limited to 'lib/Parse/Parser.cpp')
-rw-r--r-- | lib/Parse/Parser.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Parse/Parser.cpp b/lib/Parse/Parser.cpp index b66b4f34ce..5666051fe5 100644 --- a/lib/Parse/Parser.cpp +++ b/lib/Parse/Parser.cpp @@ -408,6 +408,7 @@ Parser::DeclTy *Parser::ParseExternalDeclaration() { case tok::kw_typedef: case tok::kw_template: case tok::kw_export: // As in 'export template' + case tok::kw_static_assert: // A function definition cannot start with a these keywords. return ParseDeclaration(Declarator::FileContext); default: |