[clang] 0adecfb - [clang][test] Enable a commented-out test (#96195)
via cfe-commits
cfe-commits at lists.llvm.org
Fri Jun 21 00:35:29 PDT 2024
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 {
More information about the cfe-commits
mailing list