Skip to content

c++ construction initialization list is not supported #4632

@llvmbot

Description

@llvmbot
Bugzilla Link 4260
Resolution INVALID
Resolved on Feb 22, 2010 12:47
Version unspecified
OS All
Attachments this is a c++ source file to demonstrate the feature is supported
Reporter LLVM Bugzilla Contributor
CC @efriedma-quic

Extended Description

use "g++ test.cpp -o test" to compile the file in my attachment,execute test. its output is
v = 3 value = 3 in C constructor
v = 3 value = 3 in C constructor

but, use "clang -ccc-clang-cxx test.cpp -o test" tp compile ,execute test.its output is

v = 3 value = 0 in C constructor
v = 3 value = 3 in C constructor

currently, c++ construction initialization list is not supportted.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugzillaIssues migrated from bugzillaclang:driver'clang' and 'clang++' user-facing binaries. Not 'clang-cl'enhancementImproving things as opposed to bug fixing, e.g. new or missing featureinvalidResolved as invalid, i.e. not a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions