Fix PR c++/69283 (auto deduction fails when ADL is required)
gcc/cp/ChangeLog: PR c++/69283 PR c++/67835 * decl2.c (mark_used): When given a TEMPLATE_DECL, return after setting its TREE_USED flag. gcc/testsuite/ChangeLog: PR c++/69283 PR c++/67835 * g++.dg/cpp1y/auto-fn29.C: New test. * g++.dg/cpp1y/auto-fn30.C: New test. From-SVN: r233230
Showing
gcc/testsuite/g++.dg/cpp1y/auto-fn29.C
0 → 100644
gcc/testsuite/g++.dg/cpp1y/auto-fn30.C
0 → 100644
Please
register
or
sign in
to comment