aboutsummaryrefslogtreecommitdiff
path: root/test/2.cff
diff options
context:
space:
mode:
Diffstat (limited to 'test/2.cff')
-rw-r--r--test/2.cff4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/2.cff b/test/2.cff
index deb300c..43fc148 100644
--- a/test/2.cff
+++ b/test/2.cff
@@ -17,4 +17,8 @@ extern fn main() int {
foo.num *= 10;
printf("0x%X: %d, %d, %d\n", foo.#raw, foo.tag, foo.flag, foo.num += 532);
let long = "abcd" "defg";
+
+ static const foop Foo = {7,#t,3, .tag: 9};
+ printf("0x%X: %d, %d, %d\n", foop.#raw, foop.tag, foop.flag, foop.num);
+
}