Skip to content

test/Interop/Cxx/class/member-variables-typechecker.swift fails on Windows #86095

@hnrklssn

Description

@hnrklssn

Description

This test case uses [[no_unique_address]], which is not supported on Windows. It has never been supported on Windows, so I don't know how this test ever passed on Windows.

Reproduction

Run @swift-ci please smoke test Windows platform on a PR (ex: https://ci-external.swift.org/job/swift-PR-windows/49071/).
You get:

# | C:\Users\swift-ci\jenkins\workspace\swift-PR-windows\swift\test\Interop\Cxx\class/Inputs\member-variables.h:72:5: error: unexpected warning produced: unknown attribute 'no_unique_address' ignored
# |   [[no_unique_address]] struct { private: T x; public: char pad_me; } a;

Expected behavior

Test to either pass or be marked as unsupported.

Environment

Windows

Additional information

No response

Metadata

Metadata

Assignees

Labels

bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.c++ interopFeature: Interoperability with C++test failure

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions