You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
main.cpp2:1:11: error: expected '(' for function-style cast or type construction
1 | (void) int*{&args.argc}; }
| ~~~^
main.cpp2:1:11: error: initializer list cannot be used on the right hand side of operator '*'
1 | (void) int*{&args.argc}; }
| ^~~~~~~~~~~~~
2 errors generated.
The text was updated successfully, but these errors were encountered:
Title: Multi-token type of prvalue not accounted for.
Minimal reproducer (https://cpp2.godbolt.org/z/s1T8Excjj):
Commands:
cppfront main.cpp2 clang++17 -std=c++23 -stdlib=libc++ -lc++abi -pedantic-errors -Wall -Wextra -Wconversion -I . main.cpp
Expected result:
Actual result and error:
Cpp2 lowered to Cpp1:
Output:
The text was updated successfully, but these errors were encountered: