No problem here neither with gcc/clang nor could I find something prohibiting in the standard. What are your concerns?