diff options
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/test/csource.txt | 3 | ||||
| -rw-r--r-- | sys/test/csource.txt.const | 4 |
2 files changed, 7 insertions, 0 deletions
diff --git a/sys/test/csource.txt b/sys/test/csource.txt index 1f524da89..4efdebb2f 100644 --- a/sys/test/csource.txt +++ b/sys/test/csource.txt @@ -5,6 +5,8 @@ resource fd0[int32] +bitmask = BIT_0, BIT_1, BIT_0_AND_1 + csource0(num int32) fd0 csource1(fd fd0) csource2(buf ptr[in, array[int8]]) @@ -12,3 +14,4 @@ csource3(buf ptr[in, array[const[0, int8], 10]]) csource4(buf ptr[in, array[const[0x30, int8], 10]]) csource5(buf ptr[in, array[const[0x3130, int16], 5]]) csource6(buf ptr[in, array[const[0x3130, int16be], 6]]) +csource7(flag flags[bitmask]) diff --git a/sys/test/csource.txt.const b/sys/test/csource.txt.const new file mode 100644 index 000000000..2c90daac7 --- /dev/null +++ b/sys/test/csource.txt.const @@ -0,0 +1,4 @@ +arches = 32_fork_shmem, 32_shmem, 64, 64_fork +BIT_0 = 1 +BIT_1 = 2 +BIT_0_AND_1 = 3 |
