forked from hsutter/cppfront
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
64 additions
and
0 deletions.
There are no files selected for viewing
13 changes: 13 additions & 0 deletions
13
...n-tests/test-results/clang-12-c++20/pure2-bugfix-for-dependent-types-recursion.cpp.output
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
pure2-bugfix-for-dependent-types-recursion.cpp2:2:13: error: unknown type name 'b' | ||
using a = b; | ||
^ | ||
pure2-bugfix-for-dependent-types-recursion.cpp2:3:13: error: unknown type name 'a' | ||
using b = a; | ||
^ | ||
pure2-bugfix-for-dependent-types-recursion.cpp2:4:21: error: use of undeclared identifier 'a' | ||
static_cast<void>(a::t); | ||
^ | ||
pure2-bugfix-for-dependent-types-recursion.cpp2:5:21: error: use of undeclared identifier 'b' | ||
static_cast<void>(b::t); | ||
^ | ||
4 errors generated. |
29 changes: 29 additions & 0 deletions
29
regression-tests/test-results/clang-12-c++20/pure2-bugfix-for-dependent-types.cpp.output
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
pure2-bugfix-for-dependent-types.cpp2:5:22: error: missing 'typename' prior to dependent type name 'T::value_type' | ||
template<typename T, T::value_type V> [[nodiscard]] auto f(cpp2::impl::in<typename T::value_type> x) -> T::value_type; | ||
^~~~~~~~~~~~~ | ||
typename | ||
pure2-bugfix-for-dependent-types.cpp2:5:105: error: missing 'typename' prior to dependent type name 'T::value_type' | ||
template<typename T, T::value_type V> [[nodiscard]] auto f(cpp2::impl::in<typename T::value_type> x) -> T::value_type; | ||
^~~~~~~~~~~~~ | ||
typename | ||
pure2-bugfix-for-dependent-types.cpp2:56:12: error: missing 'typename' prior to dependent type name 'T::value_type' | ||
private: T::value_type x {0}; | ||
^~~~~~~~~~~~~ | ||
typename | ||
pure2-bugfix-for-dependent-types.cpp2:5:22: error: missing 'typename' prior to dependent type name 'T::value_type' | ||
template<typename T, T::value_type V> [[nodiscard]] auto f(cpp2::impl::in<typename T::value_type> x) -> T::value_type{ | ||
^~~~~~~~~~~~~ | ||
typename | ||
pure2-bugfix-for-dependent-types.cpp2:5:105: error: missing 'typename' prior to dependent type name 'T::value_type' | ||
template<typename T, T::value_type V> [[nodiscard]] auto f(cpp2::impl::in<typename T::value_type> x) -> T::value_type{ | ||
^~~~~~~~~~~~~ | ||
typename | ||
pure2-bugfix-for-dependent-types.cpp2:9:13: error: missing 'typename' prior to dependent type name 'T::value_type' | ||
using z = T::value_type; | ||
^~~~~~~~~~~~~ | ||
typename | ||
pure2-bugfix-for-dependent-types.cpp2:32:13: error: missing 'typename' prior to dependent type name 'T::type' | ||
using a = T::type; | ||
^~~~~~~ | ||
typename | ||
7 errors generated. |
5 changes: 5 additions & 0 deletions
5
...ion-tests/test-results/gcc-10-c++20/pure2-bugfix-for-dependent-types-recursion.cpp.output
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
pure2-bugfix-for-dependent-types-recursion.cpp2: In function ‘int main()’: | ||
pure2-bugfix-for-dependent-types-recursion.cpp2:2:13: error: ‘b’ does not name a type | ||
pure2-bugfix-for-dependent-types-recursion.cpp2:3:13: error: ‘a’ does not name a type | ||
pure2-bugfix-for-dependent-types-recursion.cpp2:4:21: error: ‘a’ has not been declared | ||
pure2-bugfix-for-dependent-types-recursion.cpp2:5:21: error: ‘b’ has not been declared |
2 changes: 2 additions & 0 deletions
2
regression-tests/test-results/gcc-10-c++20/pure2-bugfix-for-dependent-types.cpp.output
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
pure2-bugfix-for-dependent-types.cpp2: In function ‘typename T::value_type f(cpp2::impl::in<typename T::value_type>) [with T = std::integral_constant<int, 0>; typename T::value_type V = 0]’: | ||
pure2-bugfix-for-dependent-types.cpp2:47:1: warning: control reaches end of non-void function [-Wreturn-type] |
5 changes: 5 additions & 0 deletions
5
...ion-tests/test-results/gcc-14-c++2b/pure2-bugfix-for-dependent-types-recursion.cpp.output
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
pure2-bugfix-for-dependent-types-recursion.cpp2: In function ‘int main()’: | ||
pure2-bugfix-for-dependent-types-recursion.cpp2:2:13: error: ‘b’ does not name a type | ||
pure2-bugfix-for-dependent-types-recursion.cpp2:3:13: error: ‘a’ does not name a type | ||
pure2-bugfix-for-dependent-types-recursion.cpp2:4:21: error: ‘a’ has not been declared | ||
pure2-bugfix-for-dependent-types-recursion.cpp2:5:21: error: ‘b’ has not been declared |
1 change: 1 addition & 0 deletions
1
...n-tests/test-results/msvc-2022-c++latest/pure2-bugfix-for-deducible-parameters.cpp.output
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
pure2-bugfix-for-deducible-parameters.cpp |
7 changes: 7 additions & 0 deletions
7
...ts/test-results/msvc-2022-c++latest/pure2-bugfix-for-dependent-types-recursion.cpp.output
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
pure2-bugfix-for-dependent-types-recursion.cpp | ||
pure2-bugfix-for-dependent-types-recursion.cpp2(2): error C2061: syntax error: identifier 'b' | ||
pure2-bugfix-for-dependent-types-recursion.cpp2(3): error C2061: syntax error: identifier 'a' | ||
pure2-bugfix-for-dependent-types-recursion.cpp2(4): error C2653: 'a': is not a class or namespace name | ||
pure2-bugfix-for-dependent-types-recursion.cpp2(4): error C2065: 't': undeclared identifier | ||
pure2-bugfix-for-dependent-types-recursion.cpp2(5): error C2653: 'b': is not a class or namespace name | ||
pure2-bugfix-for-dependent-types-recursion.cpp2(5): error C2065: 't': undeclared identifier |
2 changes: 2 additions & 0 deletions
2
...ession-tests/test-results/msvc-2022-c++latest/pure2-bugfix-for-dependent-types.cpp.output
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
pure2-bugfix-for-dependent-types.cpp | ||
pure2-bugfix-for-dependent-types.cpp2(66): fatal error C1202: recursive type or function dependency context too complex |