Skip to content

Commit e3ad1b5

Browse files
committed
test: restore intent of test case
1 parent df6f937 commit e3ad1b5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

regression-tests/pure2-bugfix-for-dependent-types.cpp2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ main: () = {
6060
_ = : ::t<zero> = (); // clang-format on
6161

6262
// Emitted `template` (noop, taken care of by the UFCS macro).
63-
_ = (:<T> () = {}).operator()<i32>();
63+
// _ = :(move f) = f.operator()<i32>();(:<T> () = {}); // Blocked on #832.
6464

6565
// Nesting is not relevant to lookup.
6666
_ = :<T> () = { _ = :T::value_type = (); };

regression-tests/test-results/pure2-bugfix-for-dependent-types.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ auto main() -> int{
9292
static_cast<void>(::t<zero>{});// clang-format on
9393

9494
// Emitted `template` (noop, taken care of by the UFCS macro).
95-
static_cast<void>(CPP2_UFCS_TEMPLATE(operator()<cpp2::i32>)(([]<typename T>() mutable -> void{})));
95+
// _ = :(move f) = f.operator()<i32>();(:<T> () = {}); // Blocked on #832.
9696

9797
// Nesting is not relevant to lookup.
9898
static_cast<void>([]<typename T>() mutable -> void{static_cast<void>(typename T::value_type{}); });

0 commit comments

Comments
 (0)