From 9ca76337deacd729503d43a47afab80886653b5c Mon Sep 17 00:00:00 2001 From: "Stephan T. Lavavej" Date: Mon, 27 Nov 2023 21:28:35 -0800 Subject: [PATCH] Update P1208R6_source_location after MSVC-internal changes. --- tests/std/tests/P1208R6_source_location/test.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/std/tests/P1208R6_source_location/test.cpp b/tests/std/tests/P1208R6_source_location/test.cpp index 18b8f26f57..d1662cebb0 100644 --- a/tests/std/tests/P1208R6_source_location/test.cpp +++ b/tests/std/tests/P1208R6_source_location/test.cpp @@ -181,7 +181,11 @@ constexpr void lambda_test() { assert(x1.column() == 53); assert(x2.column() == 58); #else // ^^^ EDG / C1XX vvv +#ifdef _MSVC_INTERNAL_TESTING // TRANSITION, VS 2022 17.10 Preview 1 + assert(x1.column() == 45); +#else // ^^^ no workaround / workaround vvv assert(x1.column() == 52); +#endif // ^^^ workaround ^^^ assert(x2.column() == 50); #endif // ^^^ C1XX ^^^ #if _USE_DETAILED_FUNCTION_NAME_IN_SOURCE_LOCATION