Skip to content

Commit 33cb7d5

Browse files
committed
test: disable the simpler test case due to the GCC bug
1 parent 811b5e8 commit 33cb7d5

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

regression-tests/pure2-bugfix-for-ufcs-arguments.cpp2

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,11 @@ main: () = {
4848
_ = a<t, t>.f<t, t>(0, 0);
4949

5050
_ = :(a, f) = { _ = a.f(a).f(); };
51-
_ = 0.std::min<int>(0);
51+
// _ = 0.std::min<int>(0);
5252
_ = 0.ns::t<0, 0>::f<0>();
5353
}
5454

55-
_: i32 = 0.std::min<int>(0);
55+
// _: i32 = 0.std::min<int>(0);
5656
_: i32 = 0.ns::t<0, 0>::f<0>();
5757

5858
ns: namespace = {

regression-tests/test-results/pure2-bugfix-for-ufcs-arguments.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ extern cpp2::i32 auto_35_1;
6565
auto main() -> int;
6666

6767
#line 55 "pure2-bugfix-for-ufcs-arguments.cpp2"
68-
extern cpp2::i32 auto_55_1;
68+
// _: i32 = 0.std::min<int>(0);
6969
extern cpp2::i32 auto_56_1;
7070

7171
namespace ns {
@@ -138,11 +138,11 @@ auto main() -> int{
138138
static_cast<void>(CPP2_UFCS_TEMPLATE(f<t,t>)(a<t,t>, 0, 0));
139139

140140
static_cast<void>([](auto const& a, auto const& f) -> void{static_cast<void>(CPP2_UFCS(f)(CPP2_UFCS(f)(a, a))); });
141-
static_cast<void>(CPP2_UFCS_QUALIFIED_TEMPLATE((std::),min<int>)(0, 0));
141+
// _ = 0.std::min<int>(0);
142142
static_cast<void>(CPP2_UFCS_QUALIFIED_TEMPLATE((ns::t<0,0>::),f<0>)(0));
143143
}
144144

145-
cpp2::i32 auto_55_1 {CPP2_UFCS_QUALIFIED_TEMPLATE_NONLOCAL((std::),min<int>)(0, 0)};
145+
#line 56 "pure2-bugfix-for-ufcs-arguments.cpp2"
146146
cpp2::i32 auto_56_1 {CPP2_UFCS_QUALIFIED_TEMPLATE_NONLOCAL((ns::t<0,0>::),f<0>)(0)};
147147

148148
namespace ns {

0 commit comments

Comments
 (0)