From ab0439e60eab40a4e21d95261a8699690984b6a2 Mon Sep 17 00:00:00 2001 From: Ganesh Viswanathan Date: Mon, 20 Apr 2020 12:28:14 -0500 Subject: ast2 static inline with -H, fix #188, --replace support --- tests/include/tast2.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'tests/include') diff --git a/tests/include/tast2.h b/tests/include/tast2.h index 1c1e935..bdf8823 100644 --- a/tests/include/tast2.h +++ b/tests/include/tast2.h @@ -198,6 +198,10 @@ typedef struct { enum { NEV6 = 8 * 8, NEV7 } f8; } nested; +static inline int sitest1(int f1) { + return f1 * 2; +} + // DUPLICATES @@ -390,6 +394,10 @@ typedef struct { enum { NEV6 = 8 * 8, NEV7 } f8; } nested; +static inline int sitest1(int f1) { + return f1 * 2; +} + #endif -- cgit v1.2.3