diff options
Diffstat (limited to 'tests/simple/string_format.v')
-rw-r--r-- | tests/simple/string_format.v | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/simple/string_format.v b/tests/simple/string_format.v new file mode 100644 index 000000000..ce45ca1e9 --- /dev/null +++ b/tests/simple/string_format.v @@ -0,0 +1,7 @@ +module top; + parameter STR = "something interesting"; + initial begin + $display("A: %s", STR); + $display("B: %0s", STR); + end +endmodule |