codegen: Fix floating reference regression with Variants
[vala-gnome.git] / tests / basic-types / sizeof.vala
blob931891f281c8dcea86c1487e4d09a5f3edc95601
3 public const size_t simple_size = sizeof (int);
4 public const size_t composed_size = sizeof (int) + sizeof (size_t);
6 static void main () {
7 assert (composed_size == (sizeof (int) + sizeof (size_t)));
8 assert (simple_size == sizeof (int));