Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

[BUG] Non-object declaration before this member ICEs #830

Open

Description

Title: Non-object declaration before this member ICEs.

Minimal reproducer (https://cpp2.godbolt.org/z/Kdbz8h311):

my_time: type = {
  rep: type == cpp2::longdouble;
  this: duration;
}
main: () = { }
Commands:
cppfront main.cpp2
clang++18 -std=c++23 -stdlib=libc++ -lc++abi -pedantic-errors -Wall -Wextra -Wconversion -Werror=unused-result -I . main.cpp

Expected result: A well-formed program.

Actual result and error: Segmentation fault (core dumped).

See also:

Activity

  1. ghost added
    bug
    on Nov 15, 2023
  2. hsutter commented on Nov 15, 2023

    @hsutter
    Owner

    Thanks!

  3. added a commit that references this issue on Dec 5, 2023
    a5de0a0
  4. added a commit that references this issue on Feb 1, 2024
    5ea5d5c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions