Skip to content

[libc++][test] support.limits.general/.version.compile.pass.cpp is malformed #75577

@StephanTLavavej

Description

@StephanTLavavej

This file's name and contents are bogus:

// WARNING: This test was generated by generate_feature_test_macro_components.py
// and should not be edited manually.
//
// clang-format off
// <>
// Test the feature test macros defined by <>
/* Constant Value
__cpp_lib_format_uchar 202311L [C++20]
__cpp_lib_saturation_arithmetic 202311L [C++26]
*/
#include <>
#include "test_macros.h"

I suspect that lit is skipping this because it doesn't recognize the filename, which is why neither llvm/llvm-project nor microsoft/STL noticed this. However, MSVC's internal test harness is far less enlightened and tried to run everything, which brought this to my attention.

@mordante This appears to have been introduced by #72421.

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