Author: Timm Baeder Date: 2024-06-21T09:35:25+02:00 New Revision: 0adecfbc393e86def951bca3516593a0a58ca7d0
URL: https://github.com/llvm/llvm-project/commit/0adecfbc393e86def951bca3516593a0a58ca7d0 DIFF: https://github.com/llvm/llvm-project/commit/0adecfbc393e86def951bca3516593a0a58ca7d0.diff LOG: [clang][test] Enable a commented-out test (#96195) This doesn't seem to crash anymore. Added: Modified: clang/test/CodeGenCXX/temporaries.cpp Removed: ################################################################################ diff --git a/clang/test/CodeGenCXX/temporaries.cpp b/clang/test/CodeGenCXX/temporaries.cpp index 186f4934873fa..f992ce206c581 100644 --- a/clang/test/CodeGenCXX/temporaries.cpp +++ b/clang/test/CodeGenCXX/temporaries.cpp @@ -683,8 +683,7 @@ namespace Vector { // CHECK: store i32 {{.*}}, ptr @_ZGRN6Vector1sE_ // CHECK: store ptr @_ZGRN6Vector1sE_, ptr @_ZN6Vector1sE, int &&s = S().w[1]; - // FIXME PR16204: The following code leads to an assertion in Sema. - //int &&s = S().w.y; + int &&ss = S().w.y; } namespace ImplicitTemporaryCleanup { _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits