Skip to content

[BUG] Assert failed, file to_cpp1.h, line 6722. #1123

@MarekKnapek

Description

@MarekKnapek

Describe the bug
File to_cpp1.h.
Line 6722.
Expression assert(n.initializer);.

To Reproduce
Steps to reproduce the behavior:

  1. Download source code of cppfront.
  2. Compile cppfront.
  3. Run cppfront on test.cpp2 file.
  4. Assert triggers inside cppfront.

Additional context
Test.cpp2 file's content is only 3 bytes long and it is: r:;.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions