dmd/test/runnable_cxx
2021-12-12 23:15:06 +00:00
..
extra-files test: runnable_cxx/cppa.d: Use C++11 std::string implementation 2021-12-11 21:29:36 +00:00
abi_tags.d Fix runnable_cxx : abi_tags tests 2020-03-28 21:51:10 +09:00
cabi1.d
cpp11.d
cpp_abi_tests.d Fix issue 20235 - Caller destroys arguments on POSIX 2021-01-28 09:32:57 +01:00
cpp_stdlib.d Remove cpp_stdlib outdated comment 2020-03-27 13:42:14 +09:00
cppa.d test: runnable_cxx/cppa.d: Update test to be compilable with GCC 12 (development) 2021-12-12 23:15:06 +00:00
externmangle.d Fix Issue 21283 - [C++] Wrong mangling for ref of parameter pack 2020-10-05 11:11:09 +02:00
externmangle2.d Use DISABLED: win in runnable/externmangle2.d ... 2020-03-26 20:24:04 +01:00
README.md Add README's to all subdirectories of test/ 2020-08-26 11:28:13 +02:00
stdint.d
test6716.d
test7925.d Disable -O for runnable_cxx/test7925.d due to a codegen issue (#13377) 2021-12-01 13:27:47 +02:00
test14203.d fix Issue 14203 - Return of floating point values from extern(C++) member functions does not match dmc 2020-09-03 09:14:46 +02:00
test19179.d fix Issue 19179 - extern(C++) small-struct by-val uses wrong ABI 2020-09-08 02:39:35 +02:00
test20652.d fix Issue 20652 - extern(C++) doesn't seem to mangle the types in core.simd right 2021-01-01 07:03:08 +01:00
test21515.d Fix runnable_cxx/test21515.d for clang 2021-04-05 02:59:25 +02:00
test22287.d fix Issue 22287 - ambiguous virtual function for extern(C++) under Windows (#13068) 2021-10-05 20:02:08 +03: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.