Skip to content

[libc++][test] array/size_and_alignment.compile.pass.cpp includes non-Standard <__type_traits/datasizeof.h> #79783

@StephanTLavavej

Description

@StephanTLavavej

Found while using MSVC's STL with libc++'s test suite.

This libcxx/test/std/ test should be portable, but it's including a non-Standard header:

I'm not sure if this test should be changed to be portable, or moved to the implementation-specific libcxx/test/libcxx/ given this comment:

// Make sure std::array<T, N> has the correct object size and alignment.
// This test is mostly meant to catch subtle ABI-breaking regressions.

Metadata

Metadata

Assignees

Labels

libc++libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi.test-suite

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions