[llvm-bugs] [Bug 27411] New: clang Assertion failed: !R.empty() && (*R.begin())->isCXXClassMember()
via llvm-bugs
llvm-bugs at lists.llvm.org
Mon Apr 18 14:08:23 PDT 2016
https://llvm.org/bugs/show_bug.cgi?id=27411
Bug ID: 27411
Summary: clang Assertion failed: !R.empty() &&
(*R.begin())->isCXXClassMember()
Product: new-bugs
Version: unspecified
Hardware: PC
OS: Windows NT
Status: NEW
Severity: normal
Priority: P
Component: new bugs
Assignee: unassignedbugs at nondot.org
Reporter: yaron.keren at gmail.com
CC: dgregor at apple.com, llvm-bugs at lists.llvm.org
Classification: Unclassified
Compiling this:
namespace std {}
struct A {
char string;
};
using std::string;
a(string
with clang r266661 results in:
file.cpp:5:7: error: no member named 'string' in namespace 'std'; did you mean
'A::string'?
using std::string;
^~~~~~~~~~~
A::string
file.cpp:3:8: note: 'A::string' declared here
char string;
^
Assertion failed: !R.empty() && (*R.begin())->isCXXClassMember(), file
C:\llvm\tools\clang\lib\Sema\SemaExprMember.cpp, line 91
--
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/20160418/7eddb560/attachment.html>
More information about the llvm-bugs
mailing list