Retro68/gcc/libphobos/testsuite/libphobos.exceptions/unknown_gc.d
Wolfgang Thaller 6fbf4226da gcc-9.1
2019-06-20 20:10:10 +02:00

10 lines
302 B
D

// { 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()
{
}