Skip to content

Commit

Permalink
Updated known-good
Browse files Browse the repository at this point in the history
  • Loading branch information
lhstrh committed Sep 11, 2023
1 parent f2c789b commit ffbbdee
Show file tree
Hide file tree
Showing 17 changed files with 13,690 additions and 0 deletions.
194 changes: 194 additions & 0 deletions test/known-good/C/src/GenDelayTest.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,194 @@
<span class="source-lf comment-block-lflang">
/**
</span>

<span class="source-lf comment-block-lflang">
* Test that types used in delayed connections do not need to be in scope for the parent reactor in
</span>

<span class="source-lf comment-block-lflang">
* order to compile.
</span>

<span class="source-lf comment-block-lflang">

</span>
<span class="source-lf comment-block-lflang">
*/
</span>

<span class="source-lf meta-targetspec-lflang keyword-control-lflang">
target
</span>
<span class="source-lf meta-targetspec-lflang">

</span>
<span class="source-lf meta-targetspec-lflang constant-language-lflang">
C
</span>

<span class="source-lf">

</span>

<span class="source-lf keyword-control-import-lflang">
import
</span>
<span class="source-lf">

</span>
<span class="source-lf entity-name-type-lflang">
Source
</span>
<span class="source-lf">
,
</span>
<span class="source-lf entity-name-type-lflang">
Sink
</span>
<span class="source-lf">

</span>
<span class="source-lf keyword-control-import-lflang">
from
</span>
<span class="source-lf">

</span>
<span class="source-lf string-quoted-double-lflang">
"
</span>
<span class="source-lf string-quoted-double-lflang">
lib/GenDelay.lf
</span>
<span class="source-lf string-quoted-double-lflang">
"
</span>

<span class="source-lf">

</span>

<span class="source-lf storage-modifier-lflang">
main
</span>
<span class="source-lf">

</span>
<span class="source-lf storage-modifier-lflang">
reactor
</span>
<span class="source-lf">
{
</span>

<span class="source-lf">

</span>
<span class="source-lf variable-other-constant-reactorinstance-lflang">
source
</span>
<span class="source-lf">

</span>
<span class="source-lf keyword-operator-lflang">
=
</span>
<span class="source-lf">

</span>
<span class="source-lf keyword-control-new-lflang">
new
</span>
<span class="source-lf">

</span>
<span class="source-lf entity-name-type-lflang">
Source
</span>
<span class="source-lf">
()
</span>

<span class="source-lf">

</span>
<span class="source-lf variable-other-constant-reactorinstance-lflang">
sink
</span>
<span class="source-lf">

</span>
<span class="source-lf keyword-operator-lflang">
=
</span>
<span class="source-lf">

</span>
<span class="source-lf keyword-control-new-lflang">
new
</span>
<span class="source-lf">

</span>
<span class="source-lf entity-name-type-lflang">
Sink
</span>
<span class="source-lf">
()
</span>

<span class="source-lf">

</span>
<span class="source-lf variable-other-constant-reactorinstance-lflang">
source
</span>
<span class="source-lf keyword-operator-lflang">
.
</span>
<span class="source-lf variable-other-lflang">
out
</span>
<span class="source-lf">

</span>
<span class="source-lf keyword-operator-lflang">
->
</span>
<span class="source-lf">

</span>
<span class="source-lf variable-other-constant-reactorinstance-lflang">
sink
</span>
<span class="source-lf keyword-operator-lflang">
.
</span>
<span class="source-lf variable-other-lflang">
in
</span>
<span class="source-lf">

</span>
<span class="source-lf keyword-control-lflang">
after
</span>
<span class="source-lf">

</span>
<span class="source-lf constant-numeric-int-lflang">
10
</span>
<span class="source-lf">
ms
</span>

<span class="source-lf">
}
</span>

<span class="source-lf">

</span>

Loading

0 comments on commit ffbbdee

Please sign in to comment.