d: Merge upstream dmd, druntime 26f049fb26, phobos 330d6a4fd.
[official-gcc.git] / gcc / testsuite / gdc.test / compilable / ddocbackticks.d
blob533ff0c1bb24081b0b66b47d2c2d7cb895b201d3
1 // PERMUTE_ARGS:
2 // REQUIRED_ARGS: -D -Dd${RESULTS_DIR}/compilable -o-
3 // POST_SCRIPT: compilable/extra-files/ddocAny-postscript.sh
5 /++
6 Closely related to std.datetime is <a href="core_time.html">`core.time`</a>,
7 and some of the time types used in std.datetime come from there - such as
8 $(CXREF time, Duration), $(CXREF time, TickDuration), and
9 $(CXREF time, FracSec).
10 core.time is publically imported into std.datetime, it isn't necessary
11 to import it separately.
13 module ddocbackticks;
15 /// This should produce `inline code`.
16 void test() {}
18 /// But `this should NOT be inline'
19 ///
20 /// However, restarting on a new line should be `inline again`.
21 void test2() {}
23 /// This `int foo;` should show highlight on foo, but not int.
24 void foo() {}