================
@@ -48,6 +48,14 @@ TEST_F(DefineInlineTest, TriggersOnFunctionDecl) {
// Definition with no body.
class Bar { Bar() = def^ault; };
)cpp");
+
+ EXPECT_UNAVAILABLE(R"cpp(
+ // Redeclaration after the definition.
+ void foo() {
+ return;
+ }
+ vo^id f^oo();
----------------
ArcsinX wrote:
Do we really need to check the point inside `void`? I guess this was already
unavailable before your patch.
https://github.com/llvm/llvm-project/pull/227534
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits