type-flags test: Force G_ENABLE_DIAGNOSTIC=1 to be set
Otherwise this test will succeed at build-time, but will fail when run as an as-installed test via ginsttest-runner.
Otherwise this test will succeed at build-time, but will fail when run as an as-installed test via ginsttest-runner.