[clang] [clang][test] Enable a commented-out test (PR #96195)

via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 20 07:22:31 PDT 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-clang

Author: Timm Baeder (tbaederr)

<details>
<summary>Changes</summary>

I can't reproduce the assertion failure locally, let's see that the precommit CI says about it.

---
Full diff: https://github.com/llvm/llvm-project/pull/96195.diff


1 Files Affected:

- (modified) clang/test/CodeGenCXX/temporaries.cpp (+1-2) 


``````````diff
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 {

``````````

</details>


https://github.com/llvm/llvm-project/pull/96195


More information about the cfe-commits mailing list