diff options
author | Marek Polacek <polacek@redhat.com> | 2019-09-10 02:29:13 +0000 |
---|---|---|
committer | Marek Polacek <mpolacek@gcc.gnu.org> | 2019-09-10 02:29:13 +0000 |
commit | 77df40e8127ec4f62c01c15f2d6f76d995424863 (patch) | |
tree | 822ee69b10dda22574ed61f738c3de26535abdc0 /libgo | |
parent | fa412b7c52a8e023a16f853cc7f7efc7265b81ef (diff) | |
download | gcc-77df40e8127ec4f62c01c15f2d6f76d995424863.zip gcc-77df40e8127ec4f62c01c15f2d6f76d995424863.tar.gz gcc-77df40e8127ec4f62c01c15f2d6f76d995424863.tar.bz2 |
PR c++/84374 - diagnose invalid uses of decltype(auto).
* decl.c (grokdeclarator): Diagnose wrong usage of decltype(auto) in
a function declaration.
* g++.dg/cpp1y/auto-fn57.C: New test.
From-SVN: r275557
Diffstat (limited to 'libgo')
0 files changed, 0 insertions, 0 deletions