Debian Codegraph @

gcc/testsuite/gdc.test/compilable/test19014.d

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 }