https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98475

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2021-01-04
     Ever confirmed|0                           |1
                 CC|                            |jason at gcc dot gnu.org,
                   |                            |marxin at gcc dot gnu.org
             Status|UNCONFIRMED                 |NEW

--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
Confirmed, started with r10-5020-g1a291106384cabc7. It was rejected before the
revision:

pr98475.C: In function ‘int main()’:
pr98475.C:15:18: error: missing template arguments before ‘(’ token
   15 |     auto o1 = SSS(10);
      |                  ^

and clang rejects that as well:

$ clang++ pr98475.C -c -std=c++20
pr98475.C:15:15: error: alias template 'SSS' requires template arguments;
argument deduction only allowed for class templates
    auto o1 = SSS(10);
              ^
pr98475.C:12:1: note: template is declared here
using SSS = SS< T, S >;
^
1 error generated.

Reply via email to