From ac6bae469ab42b80e7edd20f40b21719e99e82c2 Mon Sep 17 00:00:00 2001 From: fliiiix Date: Sat, 14 Nov 2026 08:47:40 +0100 Subject: [PATCH] Extend googletest for ACTION macros They seem to fail when they are in a namespace with a statement before the macro. Motivating examples: ``` namespace{int x;ACTION_P(B, p){}} namespace{int x;ACTION(B){}} namespace{int x;ACTION_Pk(Foo, p1, p2, p3){}} ``` --- cfg/googletest.cfg | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cfg/googletest.cfg b/cfg/googletest.cfg index c32eef7274b..e26e05c4fa8 100644 --- a/cfg/googletest.cfg +++ b/cfg/googletest.cfg @@ -59,4 +59,7 @@ + + +