Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 1.01 KB

README.md

File metadata and controls

26 lines (18 loc) · 1.01 KB

Tests for C++ interoperability

Each D file will be compiled and linked with other C++ sources defined in a EXTRA_CPP_SOURCES parameter. Any diagnostic emitted must match the predefined diagnostic in the test file, otherwise the test will fail.

All compiled executables will be run and are expected to finish successfully with exit code 0. Any output from those binaries must be defined via the RUN_OUTPUT parameter.

Purpose

The point of these files is to test that the compiler emits valid code which can interface to binaries generated by a C++ compilers.

Remarks

All test will be run for a variety of C++ compilers and targets, refer to the GitHub CI configuration for more details.

The remarks for runnable tests apply to this category.

Refer to test/README.md for general information and the test guidelines.