Committed these tests in r210306 but I'll leave this review request open in case the following code produces something in the next week or so :) richard_smith_engine e(beer()); // not sure if this is a proper way to seed the engine obscure_frienddecl_distribution d(e); d(); http://reviews.llvm.org/D3906