aboutsummaryrefslogtreecommitdiff
path: root/test/errors/high-form/Printf.fir
diff options
context:
space:
mode:
Diffstat (limited to 'test/errors/high-form/Printf.fir')
-rw-r--r--test/errors/high-form/Printf.fir7
1 files changed, 4 insertions, 3 deletions
diff --git a/test/errors/high-form/Printf.fir b/test/errors/high-form/Printf.fir
index 7f285d3e..5580182b 100644
--- a/test/errors/high-form/Printf.fir
+++ b/test/errors/high-form/Printf.fir
@@ -4,9 +4,10 @@ circuit Top :
module Top :
input x : {y : UInt<1>}
input p : UInt<1>
- printf("Hello World%!\n",x)
- printf("Hello World%")
- printf("Hello World%d %s %h %x",x,x,x)
+ input clk : Clock
+ printf(clk,p,"Hello World%!\n",x)
+ printf(clk,p,"Hello World%")
+ printf(clk,p,"Hello World%d %s %h %x",x,x,x)
;CHECK: Bad printf format: "%!"
;CHECK: Bad printf format: trailing "%"