[llvm-bugs] [Bug 45267] New: rejects-valid on escaped newline in pure specifier

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Mar 20 15:36:09 PDT 2020


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

            Bug ID: 45267
           Summary: rejects-valid on escaped newline in pure specifier
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: C++
          Assignee: unassignedclangbugs at nondot.org
          Reporter: efriedma at quicinc.com
                CC: blitzrakete at gmail.com, dgregor at apple.com,
                    erik.pilkington at gmail.com, llvm-bugs at lists.llvm.org,
                    richard-llvm at metafoo.co.uk

Testcase:

struct a { virtual void f() = \
0; };

Produces:

<stdin>:1:25: error: initializer on function does not look like a
pure-specifier
struct a { virtual void f() = \
                        ^     ~
1 error generated.

-- 
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/20200320/fce35f05/attachment.html>


More information about the llvm-bugs mailing list