Skip to content

clang accepts initializer for incomplete type #3833

@efriedma-quic

Description

@efriedma-quic
Bugzilla Link 3461
Resolution FIXED
Resolved on Mar 12, 2010 00:57
Version unspecified
OS Linux

Extended Description

Testcase:
struct foo x = {1};

Run through clang, prints no warnings/errors. Should print an error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugzillaIssues migrated from bugzillaclang:frontendLanguage frontend issues, e.g. anything involving "Sema"

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions