aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/frontend-passes.c
diff options
context:
space:
mode:
authorMarek Polacek <polacek@redhat.com>2018-08-24 15:48:43 +0000
committerMarek Polacek <mpolacek@gcc.gnu.org>2018-08-24 15:48:43 +0000
commit13ff3e166de379e0386bfaeadf3ae5fba56a0ef5 (patch)
treeaad412b6ba7bdb890f4d5e7a8ae9bedb29a470db /gcc/fortran/frontend-passes.c
parenteafa30efd073d937054788c0915957508c85ac8b (diff)
downloadgcc-13ff3e166de379e0386bfaeadf3ae5fba56a0ef5.zip
gcc-13ff3e166de379e0386bfaeadf3ae5fba56a0ef5.tar.gz
gcc-13ff3e166de379e0386bfaeadf3ae5fba56a0ef5.tar.bz2
re PR c++/67012 (decltype(auto) with trailing return type)
PR c++/67012 PR c++/86942 * decl.c (grokdeclarator): Disallow functions with trailing return type with decltype(auto) as its type. Also check the function if it's inner declarator doesn't exist * g++.dg/cpp0x/auto52.C: New test. * g++.dg/cpp1y/auto-fn52.C: New test. * g++.dg/cpp1y/auto-fn53.C: New test. * g++.dg/cpp1y/auto-fn54.C: New test. From-SVN: r263836
Diffstat (limited to 'gcc/fortran/frontend-passes.c')
0 files changed, 0 insertions, 0 deletions