diff options
Diffstat (limited to 'tests/gvariant-new.c')
-rw-r--r-- | tests/gvariant-new.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/gvariant-new.c b/tests/gvariant-new.c index 45f1f13..6a787b2 100644 --- a/tests/gvariant-new.c +++ b/tests/gvariant-new.c @@ -177,6 +177,14 @@ } /* + * No error + */ +{ + // This could be interpreted as a NULL pointer constant. + floating_variant = g_variant_new ("u", 0); +} + +/* * Expected a GVariant variadic argument of type ‘long’ but saw one of type ‘char *’. * floating_variant = g_variant_new ("x", "nope"); * ^ |