Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

IIFE in init statement produces redefinition error | clang bug #54913

Closed
Assignees
junaire
Labels
clang:frontendLanguage frontend issues, e.g. anything involving "Sema"rejects-valid
@alyanser

Description

@alyanser
for(int x = []{ int x{}; return x; }();;); // error: redefinition of 'x' int x = []{ int x{}; return x; }(); // ok as expected

live example :https://godbolt.org/z/oo5qvM35x

Metadata

Metadata

Assignees

Labels

clang:frontendLanguage frontend issues, e.g. anything involving "Sema"rejects-valid

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp