commit | d8e4daca4a44d25a9c09d51def9e3d485d4f302c | [log] [tgz] |
---|---|---|
author | Richard Smith <richard-llvm@metafoo.co.uk> | Mon Feb 27 05:24:00 2012 +0000 |
committer | Richard Smith <richard-llvm@metafoo.co.uk> | Mon Feb 27 05:24:00 2012 +0000 |
tree | 0154228b3b70b90e48041995b76ec481e77f1208 | |
parent | dbe01bb024ce9407954275a5e3c7e1a7113ca9fa [diff] [blame] |
Fix decltype crash-on-invalid, if we don't find a matching ')' for an ill-formed decltype expression. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@151515 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Parser/bracket-crash.cpp b/test/Parser/bracket-crash.cpp index fd18e0e..bcc6eab 100644 --- a/test/Parser/bracket-crash.cpp +++ b/test/Parser/bracket-crash.cpp
@@ -1,6 +1,6 @@ -// RUN: not %clang_cc1 -fsyntax-only %s +// RUN: not %clang_cc1 -fsyntax-only -std=c++11 %s // PR7481 +decltype(; struct{ a } -