-
Notifications
You must be signed in to change notification settings - Fork 10.6k
Closed
Copy link
Labels
bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.A deviation from expected or documented behavior. Also: expected but undesirable behavior.c++ interopFeature: Interoperability with C++Feature: Interoperability with C++test failure
Description
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.A deviation from expected or documented behavior. Also: expected but undesirable behavior.c++ interopFeature: Interoperability with C++Feature: Interoperability with C++test failure