// { dg-require-effective-target shared } // { dg-options "-shared-libphobos" } // { dg-shouldfail "unknowngc" } // { dg-output "No GC was initialized, please recheck the name of the selected GC \\('unknowngc'\\)." } extern(C) __gshared string[] rt_options = [ "gcopt=gc:unknowngc" ]; void main() { }