MyDeveloperDay added a comment. what about (may not be useful but compiles)
struct { int foo; } &&ptr2 = {}; https://godbolt.org/z/rbb8x3hKP Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D127873/new/ https://reviews.llvm.org/D127873 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits