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
A variable alias has a deduced type. Such is prohibited for a namespace-scope variable (see #315 (comment)).
Phase 1 emits the definition, so perhaps they were never intended to be used at namespace scope.
A variable alias has a deduced type. Such is prohibited for a namespace-scope variable (see #315 (comment)).
Phase 1 emits the definition, so perhaps they were never intended to be used at namespace scope.
Minimal reproducer (https://godbolt.org/z/sjoK8saP4):
Commands:
cppfront x.cpp2 clang++17 -std=c++2b -stdlib=libc++ -I $CPPFRONT_INCLUDE_DIR x.cpp
Expected result: A similar diagnostic to that of a global variable of deduced type.
Actual result and error:
Generated C++1.
The text was updated successfully, but these errors were encountered: