mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 13:10:12 +03:00
15 lines
526 B
D
15 lines
526 B
D
/*
|
|
REQUIRED_ARGS: -lib
|
|
REQUIRED_ARGS(linux freebsd osx openbsd): fail_compilation/extra-files/fake.a
|
|
REQUIRED_ARGS(windows): -m32 fail_compilation/extra-files/fake.lib
|
|
|
|
Use a regex because the path is really strange on Azure (OMF_32, 64):
|
|
|
|
{{RESULTS_DIR}}\fail_compilation\{{RESULTS_DIR}}\fail_compilation\invalid_omf_0.obj
|
|
|
|
TEST_OUTPUT:
|
|
----
|
|
$r:.*$: Error: corrupt $?:windows=MS Coff|osx=Mach|ELF$ object module $?:windows=fail_compilation\extra-files\fake.lib|fail_compilation/extra-files/fake.a$ $n$
|
|
----
|
|
*/
|
|
void main() {}
|