[clang] [clang][test] Enable a commented-out test (PR #96195)
Timm Baeder via cfe-commits
cfe-commits at lists.llvm.org
Thu Jun 20 07:22:01 PDT 2024
https://github.com/tbaederr created https://github.com/llvm/llvm-project/pull/96195
I can't reproduce the assertion failure locally, let's see that the precommit CI says about it.
>From 4aa4c6cb272852cbaa48267d8e21463d14d3309f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?= <tbaeder at redhat.com>
Date: Thu, 20 Jun 2024 16:20:51 +0200
Subject: [PATCH] [clang][test] Enable a commented-out test
---
clang/test/CodeGenCXX/temporaries.cpp | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
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