diff options
author | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2017-10-10 18:03:22 +0000 |
---|---|---|
committer | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2017-10-10 18:03:22 +0000 |
commit | 8b00166812472a8db192dd64a38b4bf1224e770e (patch) | |
tree | af5aa8f43021030eed870a1424ecc1f95d43b121 /gcc/testsuite/gcc.dg/func-outside-1.c | |
parent | ae4cd204e5e6460794b015f10542cc338cf9f388 (diff) | |
download | gcc-8b00166812472a8db192dd64a38b4bf1224e770e.tar.gz |
Check non-dependent conversion in return from template fn.
* typeck.c (check_return_expr): Check non-dependent conversion in
templates.
* constraint.cc (check_function_concept): Don't complain about an
empty concept if seen_error.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@253599 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.dg/func-outside-1.c')
0 files changed, 0 insertions, 0 deletions