diff --git a/test/system/test_compilation/inline.h b/test/system/test_compilation/inline.h index d605306..ae026e0 100644 --- a/test/system/test_compilation/inline.h +++ b/test/system/test_compilation/inline.h @@ -1,14 +1,19 @@ static inline void dummy_func_0(void) { - //NOP + return 5; } -inline static void dummy_func_1(void) { - //NOP +inline static void dummy_func_1(int a) { + int a = dummy_func_0(); + int b = 10; + + return a + b; } -void inline static dummy_func_2(void) { - //NOP +void inline static dummy_func_2(int a, char b, float c) { + c += 3.14; + b -= 32; + return a + (int)(b) + c; } void dummy_normal_func(int a);