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

            Bug ID: 38077
           Summary: Crash when accessing member of decltype of function
                    template
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: C++
          Assignee: unassignedclangb...@nondot.org
          Reporter: violet.bugrep...@gmail.com
                CC: dgre...@apple.com, llvm-bugs@lists.llvm.org

The following program will cause a crash in every version(trunk, 6.0, 5.0) of
clang++ I tested:

template<class T> void bar() {}
int main() {
    decltype(bar)::does_not_exist;
}

Here is demo: https://wandbox.org/permlink/fEkAc6Ih6gXRssim

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