[llvm-bugs] [Bug 26203] New: Assertion `QualifierLoc && "should be created for dependent qualifiers"' failed.

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Jan 19 00:07:05 PST 2016


https://llvm.org/bugs/show_bug.cgi?id=26203

            Bug ID: 26203
           Summary: Assertion `QualifierLoc && "should be created for
                    dependent qualifiers"' failed.
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++11
          Assignee: unassignedclangbugs at nondot.org
          Reporter: david.majnemer at gmail.com
                CC: dgregor at apple.com, llvm-bugs at lists.llvm.org
    Classification: Unclassified

consider:
template <typename T>
inline void f(T) {
    struct S {
        inline operator T() {}
        static void X() {
            &operator T;
        }
    };
}

int main() {
  f(3);
}

run with:
clang -cc1 -S -std=c++11 -x c++ -emit-llvm

-- 
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/20160119/7fc85a05/attachment.html>


More information about the llvm-bugs mailing list