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
MATCH: Improve `A CMP 0 ? A : -A` set of patterns to use bitwise_equal_p.
[official-gcc.git]
/
gcc
/
testsuite
/
gdc.test
/
fail_compilation
/
test21477.d
blob
c9c7c7fcd507603d7754d8f35bd20907a1d61658
1
/* REQUIRED_ARGS: -betterC
2
TEST_OUTPUT:
3
---
4
fail_compilation/test21477.d(103): Error: expression `[1]` uses the GC and cannot be used with switch `-betterC`
5
---
6
*/
7
8
// https://issues.dlang.org/show_bug.cgi?id=21477
9
10
#line
100
11
12
int
test
()
13
{
14
int
[]
foo
= [
1
];
15
return
0
;
16
}