-
Notifications
You must be signed in to change notification settings - Fork 201
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
transforms.iodelay_estimator: fail statements with indeterminate dela…
…y inside `with parallel`.
whitequark
committed
Nov 20, 2015
1 parent
28fa687
commit 88b7990
Showing
2 changed files
with
35 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# RUN: %python -m artiq.compiler.testbench.signature +diag %s >%t | ||
# RUN: OutputCheck %s --file-to-check=%t | ||
|
||
def f(): | ||
with parallel: | ||
# CHECK-L: ${LINE:+1}: error: while statement cannot be interleaved | ||
while True: | ||
delay_mu(1) |