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, druntime 26f049fb26, phobos 330d6a4fd.
[official-gcc.git]
/
gcc
/
testsuite
/
gdc.test
/
compilable
/
betterc.d
blob
7df9bc22a4b059c71ce1ec31ef79f1cf90742c2a
1
/* REQUIRED_ARGS: -betterC
2
*/
3
4
// https://issues.dlang.org/show_bug.cgi?id=17787
5
version
(
D_BetterC
)
6
{
7
}
8
else
9
{
10
static assert
(
0
);
11
}
12
13
// -betterC does not support `ModuleInfo`, `TypeInfo`, or exception handling
14
version
(
D_ModuleInfo
)
15
{
16
static assert
(
0
);
17
}
18
19
version
(
D_Exceptions
)
20
{
21
static assert
(
0
);
22
}
23
24
version
(
D_TypeInfo
)
25
{
26
static assert
(
0
);
27
}