================
@@ -703,6 +703,48 @@ auto f(auto x) { // cxx14-error {{'auto' not allowed in
function prototype}}
return f(1) + 1;
}
+namespace GH122892 {
----------------
zyn0217 wrote:
I don't know, but the original issue doesn't manifest with `-fsyntax-only`
https://godbolt.org/z/MdMzjEd5q
So if this patch changed the behavior in that mode (e.g. diagnose out errors
earlier) then it probably makes sense to have the test live in SemaCXX, just my
thoughts :P
https://github.com/llvm/llvm-project/pull/124609
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits