Debian Codegraph @

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

raw
1 // PERMUTE_ARGS:
2 // REQUIRED_ARGS: -D -Dd${RESULTS_DIR}/compilable -o-
3 // POST_SCRIPT: compilable/extra-files/ddocAny-postscript.sh
4
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.
12 +/
13 module ddocbackticks;
14
15 /// This should produce `inline code`.
16 void test() {}
17
18 /// But `this should NOT be inline'
19 ///
20 /// However, restarting on a new line should be `inline again`.
21 void test2() {}
22
23 /// This `int foo;` should show highlight on foo, but not int.
24 void foo() {}