Added sample for rdar://10810114
Added sample for rdar://11541277