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
d: Merge upstream dmd 47871363d, druntime, c52e28b7, phobos 99e9c1b77.
[official-gcc.git]
/
gcc
/
testsuite
/
gdc.dg
/
gdc142.d
blob
7713d5e9dab575906ce272839b27bf8ce3b4cfa6
1
// https://bugzilla.gdcproject.org/show_bug.cgi?id=142
2
// { dg-do compile }
3
4
import
gcc
.
attributes
;
5
6
@attribute
(
"noinline"
)
7
int
test142a
()()
8
{
9
return
142
;
10
}
11
12
void
test142
()
13
{
14
enum
E142
=
test142a
();
15
}