repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Require target lra in gcc.dg/pr108095.c
[official-gcc.git]
/
gcc
/
testsuite
/
gdc.dg
/
nogc1.d
blob
2894ef00eac0070a35603c1f066aac468836204c
1
// { dg-do compile }
2
// { dg-options "-fno-druntime" }
3
// { dg-shouldfail "expressions depend on GC" }
4
5
string
testConcat
(
string a
,
string b
)
6
{
7
return
a
~
b
;
// { dg-error "requires the GC and cannot be used with .-fno-druntime." }
8
}