code gives seg fault when run with llvm 3.5.0
code gives seg fault when run with llvm 3.5.0