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
c++: fix explicit/copy problem [PR109247]
[official-gcc.git]
/
gcc
/
testsuite
/
gdc.dg
/
torture
/
init1.d
blob
ce8c940a57be448034c704416df350959c5c976c
1
// { dg-do run }
2
// { dg-options "-fno-druntime" }
3
// 'a' should not be default initialized to -1.
4
static char
a
=
void
;
5
6
extern
(
C
)
void
main
()
7
{
8
assert
(
a
==
0
);
9
}