http://llvm.org/bugs/show_bug.cgi?id=20932

Adrian Prantl <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from Adrian Prantl <[email protected]> ---
This seems to behave correctly now.

_build.ninja.release/bin/clang /Users/adrian/Downloads/reduced.cc 
/Users/adrian/Downloads/reduced.cc:13:3: error: reference to 'B' is ambiguous
  B *b_;
  ^
/Users/adrian/Downloads/reduced.cc:6:7: note: candidate found by name lookup is
'B'
class B {
      ^
/Users/adrian/Downloads/reduced.cc:4:10: note: candidate found by name lookup
is 'B'
using A::B;
         ^
/Users/adrian/Downloads/reduced.cc:14:5: error: reference to 'B' is ambiguous
  D(B *b) : b_(b) { }
    ^
/Users/adrian/Downloads/reduced.cc:6:7: note: candidate found by name lookup is
'B'
class B {
      ^
/Users/adrian/Downloads/reduced.cc:4:10: note: candidate found by name lookup
is 'B'
using A::B;
         ^
2 errors generated.

-- 
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

Reply via email to