/*	A sample illustrating a problem with the
 *	null coalescing operator.
 *
 *	Compile with:
 *  
 *	valac --enable-experimental-non-null null_coalescing.vala
 *
 *
 */

private string? foobar()
{
	return null;
}

public int main()
{
	string? nullable = foobar();
	string non_nullable = nullable ?? "Hello World\n";
	
	stdout.printf(non_nullable);
	
	return 0;
}
