Skip to content

Bug: cpp20 source location test case failure #1325

@dmachaj

Description

@dmachaj

Version

No response

Summary

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
test_cpp[20](https://github.com/microsoft/cppwinrt/actions/runs/5338545026/jobs/9676159938#step:15:21).exe is a Catch v2.13.9 host application.
Run with -? for options

-------------------------------------------------------------------------------
custom_error_logger
-------------------------------------------------------------------------------
D:\a\cppwinrt\cppwinrt\test\test_cpp20\custom_error.cpp(48)
...............................................................................

D:\a\cppwinrt\cppwinrt\test\test_cpp20\custom_error.cpp(70): FAILED:
  REQUIRE( functionNameSv == "FailOnLine15" )
with expansion:
  "void __cdecl `anonymous-namespace'::FailOnLine15(void)"
  ==
  "FailOnLine15"

===============================================================================
test cases:  6 |  5 passed | 1 failed
assertions: 26 | [25](https://github.com/microsoft/cppwinrt/actions/runs/5338545026/jobs/9676159938#step:15:26) passed | 1 failed

Error: Process completed with exit code 1.

Reproducible example

No response

Expected behavior

No response

Actual behavior

No response

Additional comments

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions