Skip to content

Commit a7dd290

Browse files
committed
Updated test
1 parent 65b70ab commit a7dd290

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

cpp/autosar/test/rules/A5-1-3/test.cpp

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,12 @@ void test() {
2828
l1 += 1;
2929
};
3030
// clang-format on
31-
}
31+
}
32+
33+
#define PARAM_MACRO [](int i) { i; };
34+
35+
int test_lambda_in_macro()
36+
{
37+
PARAM_MACRO // COMPLIANT
38+
return 0;
39+
}

0 commit comments

Comments
 (0)