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: unassignedclangb...@nondot.org
          Reporter: david.majne...@gmail.com
                CC: dgre...@apple.com, llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to