☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gdc.test
/
compilable
/
test19014.d
☽
☼
gcc/testsuite/gdc.test/compilable/test19014.d
code
plain
raw
1
// https://issues.dlang.org/show_bug.cgi?id=19014
2
3
import core.stdc.config;
4
5
void main()
6
{
7
if (true)
8
{
9
static import core.stdc.math;
10
}
11
static assert(!__traits(compiles, core.stdc.math.cos(0)));
12
}