[LLVMbugs] [Bug 16273] New: this->f<T>() in trailing return type gives lib/Sema/SemaTemplate.cpp:260: Assertion failed: "Caller should have completed object type"
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Fri Jun 7 12:53:07 PDT 2013
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: unassignedclangbugs at nondot.org
Reporter: richard-llvm at metafoo.co.uk
CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20130607/3ef8adab/attachment.html>
More information about the llvm-bugs
mailing list