http://llvm.org/bugs/show_bug.cgi?id=16273
Bug ID: 16273
Summary: this->f<T>() in trailing return type gives
lib/Sema/SemaTemplate.cpp:260: Assertion failed:
"Caller should have completed object type"
Product: clang
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: C++11
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
Testcase reduced from bug 16243 comment 4:
struct A {
template<int N> void f();
auto g() -> decltype(this->f<0>());
};
gives:
lib/Sema/SemaTemplate.cpp:260: void
clang::Sema::LookupTemplateName(clang::LookupResult &, clang::Scope *,
clang::CXXScopeSpec &, clang::QualType, bool, bool &): Assertion `(isDependent
|| !ObjectType->isIncompleteType()) && "Caller should have completed object
type"' failed.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs