Skip to content

Change in behavior in inline variable handling between clang version #86520

@jfalcou

Description

@jfalcou

Repro code :
https://godbolt.org/z/bnbof95oo

Removing inline from the declaration of my_wrapper seems to cause the issue to go away.
ASAN and UB santiizers report nothing

Metadata

Metadata

Assignees

No one assigned

    Labels

    clangClang issues not falling into any other category

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions