Skip to content

Commit 0adecfb

Browse files
authored
[clang][test] Enable a commented-out test (#96195)
This doesn't seem to crash anymore.
1 parent ae41232 commit 0adecfb

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

clang/test/CodeGenCXX/temporaries.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -683,8 +683,7 @@ namespace Vector {
683683
// CHECK: store i32 {{.*}}, ptr @_ZGRN6Vector1sE_
684684
// CHECK: store ptr @_ZGRN6Vector1sE_, ptr @_ZN6Vector1sE,
685685
int &&s = S().w[1];
686-
// FIXME PR16204: The following code leads to an assertion in Sema.
687-
//int &&s = S().w.y;
686+
int &&ss = S().w.y;
688687
}
689688

690689
namespace ImplicitTemporaryCleanup {

0 commit comments

Comments
 (0)