Created attachment 13458 [details] test case Fuzzing discovered that the attached test case, when given as input to clang -fno-crash-diagnostics -std=c++11 -xc++ -c -emit-llvm causes this assertion failure: clang-3.6: tools/clang/include/clang/Parse/Parser.h:2184: clang::Parser::DeclaratorScopeObj::~DeclaratorScopeObj(): Assertion `SS.isSet() && "C++ scope was cleared ?"' failed. This test case in particular is very small; it merely contains "::[]B::".
I will handle this. Alexander Makarov, Intel Software Engineer
This appears fixed: $ echo '::[]B::' | clang -cc1 -x c++ - <stdin>:1:3: error: expected unqualified-id ::[]B:: ^ 1 error generated.