diff --git a/tests/dmd/runnable/ldc_extern_weak.d b/tests/dmd/runnable/ldc_extern_weak.d index 6ce9f90864..47787d1ce6 100644 --- a/tests/dmd/runnable/ldc_extern_weak.d +++ b/tests/dmd/runnable/ldc_extern_weak.d @@ -6,7 +6,7 @@ // REQUIRED_ARGS(osx): -L-undefined -Ldynamic_lookup // the linker on macOS-arm64 emits a warning -// TRANSFORM_OUTPUT(osx): remove_lines("warning: -undefined dynamic_lookup may not work with chained fixups") +// TRANSFORM_OUTPUT(osx): remove_lines("warning:.* -undefined dynamic_lookup") extern __gshared pragma(LDC_extern_weak) int nonExistent;