Added sample for issue 18446