forked from GitHub/gf-core
added test case for parameters
This commit is contained in:
6
testsuite/compiler/compute/param_table.gf
Normal file
6
testsuite/compiler/compute/param_table.gf
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
resource param_table = {
|
||||||
|
|
||||||
|
param Q = Q1 | Q2 ;
|
||||||
|
param P = P1 | P2 Q ;
|
||||||
|
|
||||||
|
}
|
||||||
2
testsuite/compiler/compute/param_table.gfs
Normal file
2
testsuite/compiler/compute/param_table.gfs
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
i -retain testsuite/compiler/compute/param_table.gf
|
||||||
|
cc P2 Q1
|
||||||
1
testsuite/compiler/compute/param_table.gfs.gold
Normal file
1
testsuite/compiler/compute/param_table.gfs.gold
Normal file
@@ -0,0 +1 @@
|
|||||||
|
param_table.P2 param_table.Q1
|
||||||
Reference in New Issue
Block a user