We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8acdaca + 00b990f commit 3d86635Copy full SHA for 3d86635
1 file changed
test/compilable/test19014.d
@@ -0,0 +1,12 @@
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
+}
0 commit comments