aboutsummaryrefslogtreecommitdiff
path: root/test/errors/high-form/Printf.fir
diff options
context:
space:
mode:
authorazidar2016-01-07 17:15:31 -0800
committerazidar2016-01-16 14:28:18 -0800
commit4569194392122ae4715549b2f0b9fffff051b278 (patch)
treeecd079cefa6fb69d1f8c75bc0e75e38599bc0da4 /test/errors/high-form/Printf.fir
parent2d583abda146dad8e0260928dcb19ad7136216b6 (diff)
Fixed a bunch of tests, and minor bugs
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 "%"