[LLVMbugs] [Bug 16709] New: Assert when a struct derived when a struct in another namespace attempts to call a base method with the namespace

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Jul 25 17:38:29 PDT 2013


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

            Bug ID: 16709
           Summary: Assert when a struct derived when a struct in another
                    namespace attempts to call a base method with the
                    namespace
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
          Assignee: unassignedclangbugs at nondot.org
          Reporter: rtrieu at google.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Repro:
namespace Foo {
  struct Base {
    void Bar() { }
  };
}

struct Derived : public Foo::Base {
  void test() {
    Foo::Bar();
  }
};

Assert failed:
Assertion `!QType.isNull() && "lookup done with dependent qualifier?"' failed.
clang/lib/Sema/SemaExpr.cpp:2316

-- 
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/20130726/5f9e14d4/attachment.html>


More information about the llvm-bugs mailing list