dmd/compiler/test/runnable_cxx
2024-07-07 07:36:37 +08:00
..
extra-files Fix bugzilla 24651 - Bitfield layout wrong for 48-bit field on 32-bit Linux (#16667) 2024-07-07 07:36:37 +08:00
abi_tags.d
cabi1.d
cpp11.d
cpp_abi_tests.d Fix Bugzilla 24598 2024-06-11 07:20:29 +02:00
cpp_stdlib.d Fix bugzilla issue 24623 followup. 2024-06-30 13:45:31 +02:00
cppa.d Fix bugzilla issue 24623 followup. 2024-06-30 13:45:31 +02:00
externmangle.d Get rid of obsolete CppRuntime_DigitalMars special cases 2024-05-25 18:58:37 +02:00
externmangle2.d
nonpod_byval.d Fix bugzilla 24577 - Struct with constructor returned from C++ wrong 2024-06-08 15:47:29 +02:00
README.md
stdint.d
test6716.d
test7925.d Fix Bugzilla 22556 - Invalid GOT load reloc with -O on MacOS 2024-02-23 12:55:02 +08:00
test14203.d
test19179.d
test20652.d Get rid of obsolete CRuntime_DigitalMars special cases 2024-05-25 15:17:31 +02:00
test21515.d
test22287.d
test22351.d
test22898.d Fix runnable_cxx/test22898.d on macOS-arm64 (#14918) 2023-02-27 11:07:59 +02:00
test23135.d
test24292.d Fixes issues 20339, 24292: Calculate isPOD without information from semantic run 2023-12-21 23:20:11 +01:00
testbitfields.d Fix bugzilla 24592 - ImportC: Bitfield layout wrong for int64 on 32-bit Linux 2024-06-17 02:31:02 +02:00

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.