diff options
Diffstat (limited to 'gcc/testsuite/gdc.test/compilable/ddoc15475.d')
-rw-r--r-- | gcc/testsuite/gdc.test/compilable/ddoc15475.d | 27 |
1 files changed, 24 insertions, 3 deletions
diff --git a/gcc/testsuite/gdc.test/compilable/ddoc15475.d b/gcc/testsuite/gdc.test/compilable/ddoc15475.d index f1923525104..64c07ff42fe 100644 --- a/gcc/testsuite/gdc.test/compilable/ddoc15475.d +++ b/gcc/testsuite/gdc.test/compilable/ddoc15475.d @@ -1,6 +1,7 @@ -// PERMUTE_ARGS: -// REQUIRED_ARGS: -D -Dd${RESULTS_DIR}/compilable -o- -// POST_SCRIPT: compilable/extra-files/ddocAny-postscript.sh 15475 +/* PERMUTE_ARGS: +REQUIRED_ARGS: -D -Dd${RESULTS_DIR}/compilable -o- +POST_SCRIPT: compilable/extra-files/ddocAny-postscript.sh +*/ /** My module @@ -8,5 +9,25 @@ My module // Computes the interval [x,y) auto interval = computeInterval(x, y); ---- + +Backslash-escape parentheses with `\(` and `\)`. + +--- +( +--- + +--- +) +--- + +--- + Here are some nested `backticks` + // Another interval [x,y) +--- + +--- + This won't end the code block: --- ) + // Yet another interval [x,y) +--- */ module ddoc15475; |