|
|
| Bugzilla Link |
3175 |
| Resolution |
FIXED |
| Resolved on |
Feb 22, 2010 12:51 |
| Version |
unspecified |
| OS |
All |
| CC |
@DougGregor |
Extended Description
The following code crashes 'clang -fsyntax-only -x c++':
void bar(int*);
class c {
int var;
void foo() { bar(&var); }
};
with:
clang: SemaExpr.cpp:2772: clang::QualType clang::Sema::CheckAddressOfOperand(clang::Expr*, clang::SourceLocation): Assertion `0 && "Unknown/unexpected decl type"' failed.