[LLVMbugs] [Bug 18746] New: rejects-valid on a constexpr member function of a class template with a deduced return type and no return statements

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Feb 5 12:36:29 PST 2014


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

            Bug ID: 18746
           Summary: rejects-valid on a constexpr member function of a
                    class template with a deduced return type and no
                    return statements
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++1y
          Assignee: unassignedclangbugs at nondot.org
          Reporter: richard-llvm at metafoo.co.uk
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Testcase:

template<typename T> struct X { constexpr auto f() {} };

See also:

http://stackoverflow.com/questions/21440602/constexpr-class-template-member-function-with-deduced-void-return-type

-- 
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/20140205/0a67c99b/attachment.html>


More information about the llvm-bugs mailing list