clang hangs, gcc does not