Require target lra in gcc.dg/pr108095.c
[official-gcc.git] / gcc / testsuite / gdc.dg / nogc1.d
blob2894ef00eac0070a35603c1f066aac468836204c
1 // { dg-do compile }
2 // { dg-options "-fno-druntime" }
3 // { dg-shouldfail "expressions depend on GC" }
5 string testConcat(string a, string b)
7 return a ~ b; // { dg-error "requires the GC and cannot be used with .-fno-druntime." }