diff options
author | Jason Merrill <jason@redhat.com> | 2022-04-06 21:57:33 -0400 |
---|---|---|
committer | Jason Merrill <jason@redhat.com> | 2022-04-06 23:26:08 -0400 |
commit | f44a5c700f409b96ba923864158349700628133d (patch) | |
tree | ceecff41b8b06abf9c433553c8ce82f2fdac9948 /gcc/tree-ssa-alias.h | |
parent | 8e4339f5023286d25c7dfa40b4c88e63b780cfd7 (diff) | |
download | gcc-f44a5c700f409b96ba923864158349700628133d.zip gcc-f44a5c700f409b96ba923864158349700628133d.tar.gz gcc-f44a5c700f409b96ba923864158349700628133d.tar.bz2 |
c++: conversion with trailing return type [PR101051]
We've had a diagnostic for this, but since r10-6571 added an assert to
splice_late_return_type, we need to diagnose before we call it.
PR c++/101051
gcc/cp/ChangeLog:
* decl.cc (grokdeclarator): Reject conversion with trailing return
sooner.
gcc/testsuite/ChangeLog:
* g++.dg/cpp0x/trailing15.C: New test.
Diffstat (limited to 'gcc/tree-ssa-alias.h')
0 files changed, 0 insertions, 0 deletions