Using clang 3.4 on my computer with only --std=c++1y
works with your example code.
Ubuntu clang version 3.4-1ubuntu3 (tags/RELEASE_34/final) (based on LLVM 3.4)
Because your --version
references trunk
it's probably an SVN copy of clang 3.4 which was obtained prior to generic lambdas being added to the code base.