Created attachment 20460
Test case that demonstrates the problem
The attached test case causes clang to crash:
Assertion failed: !Friend->isDependentContext() && "can't handle friends with
dependent contexts here", file
C:\src\llvm_package_333363\llvm\tools\clang\lib\Sema\SemaAccess.cpp, line 336
To reproduce:
clang -std=c++11 test.cc
test.cc
(982 bytes, text/plain)