<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - clang Assertion failed: !R.empty() && (*R.begin())->isCXXClassMember()"
   href="https://llvm.org/bugs/show_bug.cgi?id=27411">27411</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>clang Assertion failed: !R.empty() && (*R.begin())->isCXXClassMember()
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>new-bugs
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Windows NT
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>new bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>yaron.keren@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>dgregor@apple.com, llvm-bugs@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>