diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2012-12-09 04:17:57 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2012-12-09 04:17:57 +0000 |
commit | c88e40450d38533980387c8ed0c9ecd9b7e287c4 (patch) | |
tree | 63ac4477e385b26dbcefc62841305ac60d71e338 /clang/test | |
parent | 95de7c37e286bf85d9111718caf48466eb1ac784 (diff) | |
download | bcm5719-llvm-c88e40450d38533980387c8ed0c9ecd9b7e287c4.tar.gz bcm5719-llvm-c88e40450d38533980387c8ed0c9ecd9b7e287c4.zip |
PR14549. Don't assert if we see an incomplete decltype specifier at the end of the file.
llvm-svn: 169688
Diffstat (limited to 'clang/test')
-rw-r--r-- | clang/test/Parser/bracket-crash.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/test/Parser/bracket-crash.cpp b/clang/test/Parser/bracket-crash.cpp index bcc6eabc6e9..93b52940773 100644 --- a/clang/test/Parser/bracket-crash.cpp +++ b/clang/test/Parser/bracket-crash.cpp @@ -4,3 +4,6 @@ decltype(; struct{ a } + +// PR14549. Must be at end of file. +decltype( |