Skip to content

Commit 696c5d4

Browse files
committed
Refresh test results post-merge
Line ends and such
1 parent 8819ecd commit 696c5d4

19 files changed

+30
-5
lines changed

regression-tests/pure2-bugfix-for-unbraced-function-expression.cpp2

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
t: type = {
2-
operator[]: (this, f) = { }
2+
operator[]: (this, _) = { }
33
}
44

55
main: () -> int = {
66
(x := t()) { x[:() -> _ = 0]; }
77
(x := t()) { x[:() -> _ = 0;]; }
88

9-
assert(!(:() = 0; is int));
9+
assert(!(:() 0; is int));
1010

1111
return :i32 = 0;
1212
}

regression-tests/test-results/clang-12/pure2-bugfix-for-unbraced-function-expression.cpp.execution

Whitespace-only changes.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
pure2-bugfix-for-unbraced-function-expression.cpp2:2:34: warning: unused parameter 'f' [-Wunused-parameter]
2+
auto t::operator[](auto const& f) const& -> void{}
3+
^
4+
pure2-bugfix-for-unbraced-function-expression.cpp2:9:65: warning: expression result unused [-Wunused-value]
5+
cpp2::Default.expects(!((cpp2::is<int>([]() mutable -> void { 0; }))), "");
6+
^
7+
2 warnings generated.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
12345123451234512345

regression-tests/test-results/clang-12/pure2-for-loop-range-with-lambda.cpp.output

Whitespace-only changes.

regression-tests/test-results/gcc-10/pure2-bugfix-for-unbraced-function-expression.cpp.execution

Whitespace-only changes.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
pure2-bugfix-for-unbraced-function-expression.cpp2: In instantiation of ‘void t::operator[](const auto:90&) const & [with auto:89 = main()::<lambda()>]’:
2+
pure2-bugfix-for-unbraced-function-expression.cpp2:6:4: required from here
3+
pure2-bugfix-for-unbraced-function-expression.cpp2:2:34: warning: unused parameter ‘f’ [-Wunused-parameter]
4+
pure2-bugfix-for-unbraced-function-expression.cpp2: In instantiation of ‘void t::operator[](const auto:90&) const & [with auto:89 = main()::<lambda()>]’:
5+
pure2-bugfix-for-unbraced-function-expression.cpp2:7:4: required from here
6+
pure2-bugfix-for-unbraced-function-expression.cpp2:2:34: warning: unused parameter ‘f’ [-Wunused-parameter]
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
12345123451234512345

regression-tests/test-results/gcc-10/pure2-for-loop-range-with-lambda.cpp.output

Whitespace-only changes.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
pure2-bugfix-for-unbraced-function-expression.cpp2: In instantiation of ‘void t::operator[](const auto:100&) const & [with auto:99 = main()::<lambda()>]’:
2+
pure2-bugfix-for-unbraced-function-expression.cpp2:6:4: required from here
3+
pure2-bugfix-for-unbraced-function-expression.cpp2:2:34: warning: unused parameter ‘f’ [-Wunused-parameter]
4+
pure2-bugfix-for-unbraced-function-expression.cpp2: In instantiation of ‘void t::operator[](const auto:100&) const & [with auto:99 = main()::<lambda()>]’:
5+
pure2-bugfix-for-unbraced-function-expression.cpp2:7:4: required from here
6+
pure2-bugfix-for-unbraced-function-expression.cpp2:2:34: warning: unused parameter ‘f’ [-Wunused-parameter]

0 commit comments

Comments
 (0)